forked from fixin.me/fixin.me
13 lines
644 B
Plaintext
13 lines
644 B
Plaintext
<%= tabular_form_for resource, url: user_registration_path do |f| %>
|
|
<%= render "users/shared/error_messages", resource: resource %>
|
|
|
|
<%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email" %>
|
|
<%= f.password_field :password, required: true, size: 30, minlength: @minimum_password_length,
|
|
autocomplete: "new-password",
|
|
hint: ("(#{@minimum_password_length} characters minimum)" if @minimum_password_length) %>
|
|
<%= f.password_field :password_confirmation, label: t('.password_confirmation'),
|
|
required: true, size: 30, autocomplete: "new-password" %>
|
|
|
|
<%= f.submit t(:register) %>
|
|
<% end %>
|