1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/users/registrations/new.html.erb

27 lines
954 B
Text

<div class="container">
<h2><%= translate '.sign_up' %></h2>
<%= simple_form_for resource, as: resource_name, url: registration_path(resource_name) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :email,
required: true,
autofocus: true ,
input_html: { autocomplete: 'email' }%>
<%= f.input :password,
required: true,
hint: (translate('devise.shared.minimum_password_length', count: @minimum_password_length) if @minimum_password_length),
input_html: { autocomplete: 'new-password' } %>
<%= f.input :password_confirmation,
required: true,
input_html: { autocomplete: 'new-password' } %>
</div>
<div class="form-actions">
<%= f.button :submit, translate('.sign_up') %>
</div>
<% end %>
<%= render 'users/shared/links' %>
</div>