Soc/app/views/users/new.html.erb

23 lines
509 B
Plaintext

<%= form_with model: @user do |f| %>
<h2><%= t(".register") %></h2>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :first_name %>
<%= f.text_field :first_name %>
<%= f.label :last_names %>
<%= f.text_field :last_names %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.submit t(".register") %>
<% end %>