onboarding: Remove initial whitespace in Custom invitation message.

Fixes #6666.
This commit is contained in:
Cynthia Lin 2017-09-25 17:38:41 -07:00 committed by Tim Abbott
parent abe4196232
commit 0fa8235c5d
2 changed files with 2 additions and 9 deletions

View File

@ -42,7 +42,6 @@ function reset_error_messages() {
}
function prepare_form_to_be_shown() {
$("#invitee_emails").val("");
update_subscription_checkboxes();
reset_error_messages();
}

View File

@ -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>