<%= button_to t('devise.sign_up_with_facebook'), omniauth_authorize_path(resource_name, 'facebook'), class: 'btn btn-default btn-lg btn-block m-bottom-15px' %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= t 'devise.sign_up_with_site' %>
<%= f.text_field :first_name, autofocus: true, placeholder: 'First name', class: 'form-control' %>
<%= f.text_field :last_name, autofocus: true, placeholder: 'Last name', class: 'form-control' %>
<%= f.email_field :email, autofocus: true, placeholder: 'Email', class: 'form-control' %>
<% if @minimum_password_length %>
(<%= @minimum_password_length %> <%= t 'devise.characters_minimum' %>)
<% end %>
<%= f.password_field :password, autocomplete: "off", placeholder: 'Password', class: 'form-control' %>
<%= f.password_field :password_confirmation, autocomplete: "off", placeholder: t('devise.password_confirmation'), class: 'form-control' %>
<%= f.submit t('devise.sign_up'), class: 'btn btn-default' %>
<% end %>
- <%= link_to t('devise.sign_in'), new_user_session_path %>
- <%= link_to t('devise.go_back'), root_path %>