aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/registrations/new.html.erb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-11 20:37:30 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-11 20:37:30 +0000
commit07b62172741df6be4e439b11f28076ab5c013a8e (patch)
tree0bea8ae1d84f692de07fa41d355284236dac0a91 /app/views/registrations/new.html.erb
parent8ef8a8661bf4663e776497c3cbc55e3dceb63481 (diff)
Adds ghetto log out button
Diffstat (limited to 'app/views/registrations/new.html.erb')
-rw-r--r--app/views/registrations/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/registrations/new.html.erb b/app/views/registrations/new.html.erb
index 14318df..b9e01e1 100644
--- a/app/views/registrations/new.html.erb
+++ b/app/views/registrations/new.html.erb
@@ -11,7 +11,7 @@
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p>
<% end %>
- <%= form_with url: registration_url, model: @user, class: "contents" do |form| %>
+ <%= form_with model: @user, class: "contents" do |form| %>
<div class="my-5">
<%= label_tag "first_name", nil, class: "font-bold text-gray-700" %>
<%= form.text_field :first_name, required: true, autofocus: true, autocomplete: "first_name", placeholder: "Enter your first name", value: params[:first_name], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>