%h2= t('.title', :resource => resource_class.model_name.human , :default => "Edit #{resource_name.to_s.humanize}") = simple_form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f| .form-inputs .row .col-sm-6.col-md-3 = f.input :name, autofocus: true .row .col-sm-10.col-md-5 = f.input :email, required: true,input_html: {style: "ime-mode: disabled;"} - if devise_mapping.confirmable? && (resource.pending_reconfirmation? || resource.unconfirmed_email_was.present?) %p= t('.currently_waiting_confirmation_for_email', :email => resource.unconfirmed_email_was, :default => "Currently waiting confirmation for: %{email}") = f.input :email_change_cancel,as: :boolean .row .col-sm-6.col-md-3 = f.input :sign_in_id,input_html: {style: "ime-mode: disabled;"} .row .col-sm-10.col-md-5 = f.input :password, autocomplete: "off", hint: t('.leave_blank_if_you_don_t_want_to_change_it', :default => "leave blank if you don't want to change it"), required: false = f.input :password_confirmation, required: false,input_html:{maxlength: Devise.password_length.max} = f.input :current_password, hint: t('.we_need_your_current_password_to_confirm_your_changes', :default => 'we need your current password to confirm your changes'), required: true,input_html:{maxlength: Devise.password_length.max} .form-actions = f.button :submit, t('.update', :default => "Update")