Sha256: 779d3c50fe063f9ffdc618da79bbd55be5f50f1a3c76d5c1951c28d431613848
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
= render layout: "renalware/dashboard/dashboards/layout", locals: { user: resource, title: "Update Profile" } do .document h4 #{resource}'s Profile = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| = custom_devise_error_messages! .field.large-8.small-6 = f.label :email = f.email_field :email, autofocus: true - if devise_mapping.confirmable? && resource.pending_reconfirmation? div Currently waiting confirmation for: #{resource.unconfirmed_email} .field.large-8.small-6 = f.label :password <i>(leave blank if you don't want to change it)</i> = f.password_field :password, autocomplete: "off" .field.large-8.small-6 = f.label :password_confirmation = f.password_field :password_confirmation, autocomplete: "off" .field.large-8.small-6 = f.label :current_password <i>(we need your current password to confirm your changes)</i> = f.password_field :current_password, autocomplete: "off" .field.large-8.small-6 = f.label :professional_position = f.text_field :professional_position .field.large-8.small-6 = f.label :signature <i>(appears in letters, e.g. "Dr Jane Smith, MRCP")</i> = f.text_field :signature .actions = f.submit "Update", class: "button save" = link_to "Back", :back
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.0.0.pre.beta4 | app/views/renalware/devise/registrations/edit.html.slim |