<% phc_title resource_name.to_s.humanize + " Account Information" %> <% phc_title_tagline "Edit Your " + resource_name.to_s.humanize + " Account Information" %> <% phc_breadcrumb_one link_to "Home", main_app.root_path %> <% phc_breadcrumb_two link_to "Accounts Dashboard", phcdevworks_accounts.dashboard_path %> <% phc_breadcrumb_three yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |form| %> <%= devise_error_messages! %>
<%= form.label :firstname, "First Name" %> <%= form.text_field :firstname, class: "form-control", placeholder: "First Name" %>
<%= form.label :lastname, "Last Name" %> <%= form.text_field :lastname, class: "form-control", placeholder: "Last Name" %>
<%= form.label :username, "User Name" %> <%= form.text_field :username, class: "form-control", placeholder: "User Name" %>
<%= form.label :email %> <%= form.email_field :email, class: "form-control", placeholder: "Email Address", autofocus: true %>
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
Currently waiting confirmation for: <%= resource.unconfirmed_email %>
<% end %>
<%= form.label :password, "New Password" %> (leave blank if you don't want to change it) <%= form.password_field :password, class: "form-control", placeholder: "New Password", autocomplete: "off" %>
<%= form.password_field :password_confirmation, class: "form-control", placeholder: "Confirm New Password", autocomplete: "off" %>
<% if @minimum_password_length %>
Password (minimum <%= @minimum_password_length %> characters.)
<% end %>
<%= form.label :current_password %> (we need your current password to confirm your changes)
<%= form.password_field :current_password, class: "form-control", placeholder: "Password" , autocomplete: "off" %>
<%= form.submit "Update", class: "btn btn-w-m btn-primary" %>
<% end %>