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:
Lauryn Menard 2024-10-22 18:04:54 +02:00 committed by Tim Abbott
parent 3d5c72f762
commit 8c900ff0fb
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@
</div>
<div class="input-group">
<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}}
<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}}
</select>
<p class="time-input-formatted-description"></p>