summaryrefslogtreecommitdiff
path: root/app/views/registrations/new.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-29 15:14:43 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-29 15:14:43 +0100
commitbe2a93525069de2dfa3c23b0c23e7a9f7ad4c03d (patch)
treeb5493e9d35d024ce7be072ec2168b4a98ba0e63f /app/views/registrations/new.html.erb
First commit.
Diffstat (limited to 'app/views/registrations/new.html.erb')
-rw-r--r--app/views/registrations/new.html.erb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/registrations/new.html.erb b/app/views/registrations/new.html.erb
new file mode 100644
index 0000000..9d9f9bc
--- /dev/null
+++ b/app/views/registrations/new.html.erb
@@ -0,0 +1,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 %>
Copyright 2019--2025 Marius PETER