diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2021-02-15 11:10:09 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2021-02-15 11:10:09 +0200 |
| commit | a636e5340426f8c9b40811bd01c8710f438a2cf2 (patch) | |
| tree | 03a81594a578a826dd72e59f7c57178105b11dfd /src/components/registration/registration.vue | |
| parent | 44bddf6cd2ebe636ef58855949128d37244f04a7 (diff) | |
add reason field when approval is required
Diffstat (limited to 'src/components/registration/registration.vue')
| -rw-r--r-- | src/components/registration/registration.vue | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index 100df0d6..062d4121 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -163,6 +163,23 @@ </div> <div + v-if="accountApprovalRequired" + class="form-group" + > + <label + class="form--label" + for="reason" + >{{ $t('registration.reason') }}</label> + <textarea + id="reason" + v-model="user.reason" + :disabled="isPending" + class="form-control" + :placeholder="reasonPlaceholder" + /> + </div> + + <div v-if="captcha.type != 'none'" id="captcha-group" class="form-group" |
