aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration/registration.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2021-02-20 20:37:12 +0000
committerShpuld Shpludson <shp@cock.li>2021-02-20 20:37:12 +0000
commita89710452a54d0b3c6ea2c15706d8b238650708e (patch)
treeba486d6a5ab6c4c8725026e4d25b07910749b567 /src/components/registration/registration.vue
parent663362db562d31492bef8f650a41b5418037396c (diff)
parent23a5c601a74d65e2f7368f6e918fdd07ffc85174 (diff)
Merge branch 'feat/reason-in-registration' into 'develop'
Close #1047 - add reason field for registration when needed Closes #1047 See merge request pleroma/pleroma-fe!1347
Diffstat (limited to 'src/components/registration/registration.vue')
-rw-r--r--src/components/registration/registration.vue17
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"