Sha256: 17ceb9384f416a2c145436d9b524b5d44c42c4cb5af43a3149257e47b6ed19c5
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
.panel.panel-default .panel-heading %i.icon-edit.icon-large = t('devise.registration.edit.title', model: resource.class.model_name.human) .panel-body = simple_form_for(resource, as: resource_name, url: admin_registration_path, html: { method: :put }) do |f| = f.error_notification .form-inputs = f.input :email, required: true, autofocus: true - if devise_mapping.confirmable? && resource.pending_reconfirmation? %p = t('devise.registration.waiting_confirmation', email: resource.unconfirmed_email ) %hr = f.input :password, label: t('activerecord.attributes.admin.password'), autocomplete: 'off', hint: t('devise.registration.hint_password'), required: false = f.input :password_confirmation, label: t('activerecord.attributes.admin.password_confirmation'), required: false %hr = f.input :current_password, label: t('activerecord.attributes.admin.current_password'), hint: t('devise.registration.hint_current_password'), required: true .form-actions = f.button :submit, t('btn.update'), class: 'btn btn-primary'
Version data entries
3 entries across 3 versions & 1 rubygems