<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |form| %>
<%= render "devise/shared/error_messages", resource: resource %>
<%= form.text_field :firstname, class: "form-control fs-13px", placeholder: "First Name" %>
<%= form.text_field :lastname, class: "form-control fs-13px", placeholder: "Last Name" %>
<%= form.text_field :username, class: "form-control fs-13px", placeholder: "User Name" %>
<%= form.email_field :email, class: "form-control fs-13px", placeholder: "Email Address", autofocus: true %>
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
Currently waiting confirmation for: <%= resource.unconfirmed_email %>
<% end %>
Click Here to Change Password
<% if @minimum_password_length %>
<% end %>
<%= form.password_field :password, class: "form-control fs-13px mb-2", placeholder: "New Password", autocomplete: "off" %>
<%= form.password_field :password_confirmation, class: "form-control fs-13px", placeholder: "Confirm New Password", autocomplete: "off" %>
<%= form.password_field :current_password, class: "form-control fs-13px", placeholder: "Password" , autocomplete: "off" %>
<%= form.submit "Update", class: "btn btn-primary btn-lg" %>
<% end %>