mirror of https://github.com/zulip/zulip.git
invite-modal: Move "expires_in" name attribute to select element.
The "name" attribute should be on the select element and not on the nested option elements.
This commit is contained in:
parent
3d5c72f762
commit
8c900ff0fb
|
@ -35,9 +35,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<label for="expires_in" class="modal-field-label">{{t "Invitation expires after" }}</label>
|
<label for="expires_in" class="modal-field-label">{{t "Invitation expires after" }}</label>
|
||||||
<select id="expires_in" class="invite-user-select modal_select bootstrap-focus-style">
|
<select id="expires_in" name="expires_in" class="invite-user-select modal_select bootstrap-focus-style">
|
||||||
{{#each expires_in_options}}
|
{{#each expires_in_options}}
|
||||||
<option {{#if this.default }}selected{{/if}} name="expires_in" value="{{this.value}}">{{this.description}}</option>
|
<option {{#if this.default }}selected{{/if}} value="{{this.value}}">{{this.description}}</option>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</select>
|
</select>
|
||||||
<p class="time-input-formatted-description"></p>
|
<p class="time-input-formatted-description"></p>
|
||||||
|
|
Loading…
Reference in New Issue