mirror of https://github.com/zulip/zulip.git
invite-modal: Move "invite_as" name attribute to select element.
This commit is contained in:
parent
15f010d6c9
commit
1dc7ad13a9
|
@ -56,15 +56,15 @@
|
||||||
<label for="invite_as" class="modal-field-label">{{t "Users join as" }}
|
<label for="invite_as" class="modal-field-label">{{t "Users join as" }}
|
||||||
{{> help_link_widget link="/help/roles-and-permissions" }}
|
{{> help_link_widget link="/help/roles-and-permissions" }}
|
||||||
</label>
|
</label>
|
||||||
<select id="invite_as" class="invite-user-select modal_select bootstrap-focus-style">
|
<select id="invite_as" name="invite_as" class="invite-user-select modal_select bootstrap-focus-style">
|
||||||
<option name="invite_as" value="{{ invite_as_options.guest.code }}">{{t "Guests" }}</option>
|
<option value="{{ invite_as_options.guest.code }}">{{t "Guests" }}</option>
|
||||||
<option name="invite_as" selected="selected" value="{{ invite_as_options.member.code }}">{{t "Members" }}</option>
|
<option selected="selected" value="{{ invite_as_options.member.code }}">{{t "Members" }}</option>
|
||||||
{{#if is_admin}}
|
{{#if is_admin}}
|
||||||
<option name="invite_as" value="{{ invite_as_options.moderator.code }}">{{t "Moderators" }}</option>
|
<option value="{{ invite_as_options.moderator.code }}">{{t "Moderators" }}</option>
|
||||||
<option name="invite_as" value="{{ invite_as_options.admin.code }}">{{t "Administrators" }}</option>
|
<option value="{{ invite_as_options.admin.code }}">{{t "Administrators" }}</option>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if is_owner}}
|
{{#if is_owner}}
|
||||||
<option name="invite_as" value="{{ invite_as_options.owner.code }}">{{t "Owners" }}</option>
|
<option value="{{ invite_as_options.owner.code }}">{{t "Owners" }}</option>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue