Crie sua conta

<%= simple_form_for @signup, as: :signup, url: registrations_path, html: { class: "signup" } do |f| %> <%= f.error_notification %>
Dados pessoais
Depois de criar sua conta você poderá acessar usando seu e-mail ou CPF.
<% if @signup.errors[:base].present? %>
<%= @signup.errors[:base].to_sentence %>
<% end %>
<%= f.input :first_name, label: false, wrapper: 'input_group' do %> <%= f.input_field :first_name, as: :string, placeholder: 'Nome', class: 'form-control input-lg' %> <% end %>
<%= f.input :last_name, label: false, wrapper: 'input_group' do %> <%= f.input_field :last_name, as: :string, placeholder: 'Sobrenome', class: 'form-control input-lg' %> <% end %>
<%= f.input :email, label: false, wrapper: 'input_group' do %> <%= f.input_field :email, as: :string, placeholder: "E-mail", class: "form-control input-lg", data: { :"rule-email" => true } %> <% end %>
<%= f.input :document, label: false, wrapper: 'input_group' do %> <%= f.input_field :document, as: :string, placeholder: "CPF", class: "form-control input-lg", data: { mask: "999.999.999-99" } %> <% end %>
<%= f.input :password, label: false, wrapper: 'input_group' do %> <%= f.input_field :password, as: :password, placeholder: "Senha", class: "form-control input-lg" %> <% end %>
<%= f.input :password_confirmation, label: false, wrapper: 'input_group' do %> <%= f.input_field :password_confirmation, as: :password, placeholder: "Confirme a senha", class: "form-control input-lg" %> <% end %>
<%= link_to 'Voltar', root_path, class: "btn btn-lg btn-info" %> <%= submit_tag 'Confirmar e acessar o sistema', class: 'btn btn-success btn-lg', data: { disable_with: "Enviando..." } %>
<% end %>