21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-16 07:28:39 +02:00
chexpire/app/views/devise/registrations/new.html.erb

21 lines
756 B
Plaintext

<%= devise_form_container do %>
<h2><%= t('.sign_up') %></h2>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= f.input :email, autofocus: true, autocomplete: "email" %>
<%= f.input :password, autocomplete: "off",
hint: t('devise.shared.minimum_password_length', count: @minimum_password_length) %>
<%= f.input :password_confirmation, autocomplete: "off" %>
<%= f.input :locale, label: t('.locale'), collection: I18n.available_locales, selected: I18n.default_locale %>
<%= f.input :tos_accepted, label: t('.tos_acceptance_html') %>
<%= f.button :submit, t('.sign_up'), class: "btn-primary" %>
<% end %>
<%= render "devise/shared/links" %>
<% end %>