Sign-Up
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: { role: "form" }) do |f| %> <%= devise_error_messages! %>
<%= f.email_field :email, required: true, autofocus: true, class: "form-control", :placeholder => "Email" %>
<%= f.password_field :password, required: true, class: "form-control", :placeholder => "Password", hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %>
<%= f.password_field :password_confirmation, required: true, class: "form-control", :placeholder => "Confirm Password" %>
<%= f.submit "Sign-Up", class: "btn btn-primary" %>
<%= render "devise/shared/links" %>
<% end %>