blob: 9d9f9bc47a152aaef0ac4a5da0d5bd1313a6e21f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<h1>Sign Up</h1>
<%= form_with model: @user, url: registration_path, method: :post, local: true do |f| %>
<div>
<%= f.label :email_address %>
<%= f.email_field :email_address, required: true %>
</div>
<div>
<%= f.label :password %>
<%= f.password_field :password, required: true %>
</div>
<div>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation, required: true %>
</div>
<%= f.submit "Sign Up" %>
<% end %>
|