invite: Move success message to top of invite modal.

This commit is contained in:
Rishi Gupta 2019-02-11 13:37:07 -08:00 committed by Tim Abbott
parent c61bccb671
commit 5bd2c70c3c
1 changed files with 4 additions and 4 deletions

View File

@ -7,6 +7,10 @@
</div> </div>
<form id="invite_user_form" class="form-horizontal">{{ csrf_input }} <form id="invite_user_form" class="form-horizontal">{{ csrf_input }}
<div class="modal-body"> <div class="modal-body">
<div class="alert" id="invite_status"></div>
{% if development_environment %}
<div class="alert" id="dev_env_msg"></div>
{% endif %}
<div class="control-group"> <div class="control-group">
<label class="control-label" for="invitee_emails">{{ _('Emails (one on each line or comma-separated)') }}</label> <label class="control-label" for="invitee_emails">{{ _('Emails (one on each line or comma-separated)') }}</label>
<div class="controls"> <div class="controls">
@ -37,10 +41,6 @@
</select> </select>
</div> </div>
</div> </div>
<div class="alert" id="invite_status"></div>
{% if development_environment %}
<div class="alert" id="dev_env_msg"></div>
{% endif %}
<div class="control-group"> <div class="control-group">
<label class="control-label">{{ _('Streams they should join') }}</label> <label class="control-label">{{ _('Streams they should join') }}</label>
<div class="controls" id="streams_to_add"></div> <div class="controls" id="streams_to_add"></div>