mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							3d5c72f762
						
					
				
				
					commit
					8c900ff0fb
				
			@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user