<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <h2><%= t('common.forms.auth.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: t('common.forms.auth.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: t('common.forms.auth.email'),
      required: true,
      class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :password, class: "sr-only" %>
    <%= f.password_field :password,
      placeholder: t('common.forms.auth.password'),
      required: true,
      class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :password_confirmation, class: "sr-only" %>
    <%= f.password_field :password_confirmation,
      placeholder: t('common.forms.auth.password_confirmation'),
      required: true,
      class: "form-control" %>
  </div>

  <div class="actions">
    <%= f.submit t('common.forms.auth.sign_up'), class: "btn btn-dark btn-block" %>
  </div>
<% end %>

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