blob: 42c84cb64e2a296be06d2c3f5b1d5fe47309c0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
= title_tag t('.title')
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "form-horizontal", method: :put }) do |f|
= f.error_notification
.form-inputs
= f.input :email, required: true, autofocus: true
= f.input :name, required: true
- if devise_mapping.confirmable? && resource.pending_reconfirmation?
p = "Currently waiting confirmation for: #{resource.unconfirmed_email}."
= f.input :password, autocomplete: "off", required: false
= f.input :password_confirmation, required: false
= f.input :current_password, required: true
.form-actions
= f.button :submit
= link_to t('cancel'), :back
|