<%= simple_form_for(resource,
as: resource_name,
url: registration_path(resource_name),
html: { class: 'form-horizontal' }
) do |f| %>
<%= devise_error_messages! %>
<%= honeypot %>
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :email, as: :email %>
<%= f.input :password %>
<%= f.input :password_confirmation %>
<%= f.submit "Sign up", class: 'btn btn-primary' %>
<% end %>
<%= render :partial => "devise/shared/links" %>