invite-modal: Update custom time input element.

Adds "custom-expiration-time-input" name to input element and orders
attributes in template for readability.
This commit is contained in:
Lauryn Menard 2024-10-22 18:22:26 +02:00 committed by Tim Abbott
parent 62b365cb31
commit 15f010d6c9
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<p class="time-input-formatted-description"></p>
<div id="custom-invite-expiration-time" class="dependent-settings-block custom-time-input-container">
<label class="modal-field-label">{{t "Custom time" }}</label>
<input type="text" autocomplete="off" name="custom-expiration-time" id="custom-expiration-time-input" class="custom-time-input-value inline-block" value="" maxlength="3"/>
<input id="custom-expiration-time-input" name="custom-expiration-time-input" class="custom-time-input-value inline-block" type="text" autocomplete="off" value="" maxlength="3"/>
<select id="custom-expiration-time-unit" name="custom-expiration-time-unit" class="custom-time-input-unit invite-user-select modal_select bootstrap-focus-style">
{{#each time_choices}}
<option value="{{this.name}}">{{this.description}}</option>