2018-05-23 17:59:28 +02:00
|
|
|
<%= 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" %>
|
|
|
|
|
2018-06-13 20:28:37 +02:00
|
|
|
<%= f.input :locale, label: t('.locale'), collection: available_locales_collection, selected: I18n.default_locale %>
|
2018-06-13 08:14:33 +02:00
|
|
|
|
2018-05-24 23:40:23 +02:00
|
|
|
<%= f.input :tos_accepted, label: t('.tos_acceptance_html') %>
|
|
|
|
|
2018-05-23 17:59:28 +02:00
|
|
|
<%= f.button :submit, t('.sign_up'), class: "btn-primary" %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|
|
|
|
<% end %>
|