diff options
Diffstat (limited to 'app/views/registrations')
-rw-r--r-- | app/views/registrations/new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/registrations/new.html.erb b/app/views/registrations/new.html.erb index 3663e5f..14318df 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, class: "contents" do |form| %> + <%= form_with url: registration_url, 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" %> |