mirror of https://github.com/zulip/zulip.git
onboarding: Remove initial whitespace in Custom invitation message.
Fixes #6666.
This commit is contained in:
parent
abe4196232
commit
0fa8235c5d
|
@ -42,7 +42,6 @@ function reset_error_messages() {
|
|||
}
|
||||
|
||||
function prepare_form_to_be_shown() {
|
||||
$("#invitee_emails").val("");
|
||||
update_subscription_checkboxes();
|
||||
reset_error_messages();
|
||||
}
|
||||
|
|
|
@ -12,17 +12,11 @@
|
|||
<div id="invite-result"></div>
|
||||
<label class="control-label" for="invitee_emails">{{ _('Emails (one on each line or comma-separated)') }}</label>
|
||||
<div class="controls">
|
||||
<textarea rows="2" id="invitee_emails"
|
||||
name="invitee_emails"
|
||||
placeholder="{{ _('One or more email addresses...') }}">
|
||||
</textarea>
|
||||
<textarea rows="2" id="invitee_emails" name="invitee_emails" placeholder="{{ _('One or more email addresses...') }}"></textarea>
|
||||
</div>
|
||||
<label class="control-label" for="custom_invite_body">{{ _('Custom invitation message (if you want to add one)') }}</label>
|
||||
<div class="controls">
|
||||
<textarea rows="2" id="custom_invite_body"
|
||||
name="custom_body"
|
||||
placeholder="{{ _('Custom message') }}">
|
||||
</textarea>
|
||||
<textarea rows="2" id="custom_invite_body" name="custom_body" placeholder="{{ _('Custom message') }}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="alert" id="invite_status"></div>
|
||||
|
|
Loading…
Reference in New Issue