tabletop-companion/app/views/users/_form.html.erb

24 lines
509 B
Plaintext
Raw Normal View History

2024-04-18 19:58:38 +00:00
<%# locals: (user:, button_text:) -%>
2024-04-14 19:01:32 +00:00
<%= form_with model: user do |f| %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :first_name %>
<%= f.text_field :first_name %>
<%= f.label :last_name %>
<%= f.text_field :last_name %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
2024-04-18 19:58:38 +00:00
<%= f.submit button_text %>
2024-04-14 19:01:32 +00:00
<% end %>