Forg/app/views/users/_form.html.erb

26 lines
574 B
Plaintext
Raw Permalink Normal View History

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