Improve layout of password reset form
This commit is contained in:
		
							parent
							
								
									8f9e1c3e84
								
							
						
					
					
						commit
						832d1e3bd7
					
				| @ -11,7 +11,7 @@ | |||||||
|       <%= f.label :password, "New password" %> |       <%= f.label :password, "New password" %> | ||||||
|     </p> |     </p> | ||||||
|     <p> |     <p> | ||||||
|       <%= f.password_field :password, autofocus: true, autocomplete: "new-password" %> |       <%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "w-full" %> | ||||||
|       <% if @minimum_password_length %> |       <% if @minimum_password_length %> | ||||||
|         <br><em class="text-sm text-gray-500">(<%= @minimum_password_length %> characters minimum)</em> |         <br><em class="text-sm text-gray-500">(<%= @minimum_password_length %> characters minimum)</em> | ||||||
|       <% end %> |       <% end %> | ||||||
| @ -20,10 +20,10 @@ | |||||||
|       <%= f.label :password_confirmation, "Confirm new password" %> |       <%= f.label :password_confirmation, "Confirm new password" %> | ||||||
|     </p> |     </p> | ||||||
|     <p> |     <p> | ||||||
|       <%= f.password_field :password_confirmation, autocomplete: "new-password" %> |       <%= f.password_field :password_confirmation, autocomplete: "new-password", class: "w-full"%> | ||||||
|     </p> |     </p> | ||||||
|     <p class="mt-8"> |     <p class="mt-8"> | ||||||
|       <%= f.submit "Change my password", class: 'btn-md btn-blue' %> |       <%= f.submit "Change my password", class: 'btn-md btn-blue w-full' %> | ||||||
|     </p> |     </p> | ||||||
|   <% end %> |   <% end %> | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user