Sha256: f6cf55ec2b52765190bf36aba2d4e758c3c2366d0bb7446bc472ee21f7d4ecd2
Contents?: true
Size: 1.29 KB
Versions: 5
Compression:
Stored size: 1.29 KB
Contents
.card .card-header %i.fas.fa-edit = t('devise.registration.edit.title', model: resource.class.model_name.human) .card-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('view.btn.update'), class: 'btn btn-primary'
Version data entries
5 entries across 5 versions & 1 rubygems