<%= form_for(resource, as: resource_name, url: registration_path(resource_name), method: :put, html: { class: "form-horizontal" , role: "form" }) do |f| %> <%= devise_error_messages! %>

Edit <%= resource_name.to_s.humanize %>

<%= resource.email %>
<%= f.password_field :password, autocomplete: "off",:class=>"form-control", :placeholder=>"Password" %> (leave blank if you don't want to change it)
<%= f.password_field :password_confirmation, autocomplete: "off",:class=>"form-control", :placeholder=>"Password Confirmation" %> (leave blank if you don't want to change it)
<%= f.password_field :current_password, autocomplete: "off",:class=>"form-control", :placeholder=>"Current Password" %> (we need your current password to confirm your changes)
<%=f.button "Update",:class=>"btn btn-success",:type=> "submit" %> <%= link_to "Cancel", edit_user_registration_path, :class => "btn btn-primary" %>
<% end %>

List of Guest User

<%= link_to "Create Guest User", user_registration_path, :class => "btn btn-success" %>