<% content_for :devise_form do %>

Sign up

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= render "devise/shared/error_messages", resource: resource %>
<%= f.label :name, class:"label" %> <%= f.text_field :name, class:"input" %>
<%= f.label :email, class:"label" %> <%= f.email_field :email, autocomplete: "email", class:"input" %>
<%= f.label :password, class: "label" %> <% if @minimum_password_length %> (<%= @minimum_password_length %> characters minimum) <% end %>
<%= f.password_field :password, autocomplete: "new-password", class: "input" %>
<%= f.label :password_confirmation, class:"label" %> <%= f.password_field :password_confirmation, autocomplete: "new-password", class: "input" %>
<%= f.submit "Sign up", class: "btn btn-default" %>

<% end %> <%= render "devise/shared/links" %> <% end %> <%= render "devise/shared/form_wrap" %>