Hide misleading “You will be sent a confirmation e-mail” hint from admin view (#9973)
Thanks @wryk for noticing this issue.
This commit is contained in:
		
							parent
							
								
									5bffb53a76
								
							
						
					
					
						commit
						1ac9a3f4bb
					
				@ -3,7 +3,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
= simple_form_for @user, url: admin_account_change_email_path(@account.id) do |f|
 | 
					= simple_form_for @user, url: admin_account_change_email_path(@account.id) do |f|
 | 
				
			||||||
  .fields-group
 | 
					  .fields-group
 | 
				
			||||||
    = f.input :email, wrapper: :with_label, disabled: true, label: t('admin.accounts.change_email.current_email')
 | 
					    = f.input :email, wrapper: :with_label, hint: false, disabled: true, label: t('admin.accounts.change_email.current_email')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .fields-group
 | 
					  .fields-group
 | 
				
			||||||
    = f.input :unconfirmed_email, wrapper: :with_label, label: t('admin.accounts.change_email.new_email')
 | 
					    = f.input :unconfirmed_email, wrapper: :with_label, label: t('admin.accounts.change_email.new_email')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user