<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <h2>Sign up</h2>

  <%= render "devise/shared/error_messages", resource: resource %>

  <div class="form-group">
    <%= f.label :full_name, class: "sr-only" %>
    <%= f.text_field :full_name, autofocus: true, placeholder: "Full name", required: true, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :email, class: "sr-only" %>
    <%= f.email_field :email, autocomplete: "email", placeholder: "Email address", required: true, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :password, class: "sr-only" %>
    <%= f.password_field :password, placeholder: "Password", required: true, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :password_confirmation, class: "sr-only" %>
    <%= f.password_field :password_confirmation, placeholder: "Password confirmation", required: true, class: "form-control" %>
  </div>

  <div class="actions">
    <%= f.submit "Sign up", class: "btn btn-dark btn-block" %>
  </div>
<% end %>

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