From d548852db5fe7e039a3334b675cebb7904541e92 Mon Sep 17 00:00:00 2001 From: Stephanie Wilkinson Date: Fri, 29 Sep 2017 10:15:34 -0700 Subject: [PATCH] change form fields in view --- app/views/devise/registrations/new.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/registrations/new.html.haml b/app/views/devise/registrations/new.html.haml index aa9c4db4..b0c20ff9 100644 --- a/app/views/devise/registrations/new.html.haml +++ b/app/views/devise/registrations/new.html.haml @@ -7,9 +7,9 @@ Sign Up .panel-body = semantic_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| - = f.input :username, input_html: { required: true }, hint: 'This is how the other users see you, not your real name' + = f.input :username, label: "First name", input_html: { required: true } + = f.input :name, label: "Last name", input_html: { required: true } = f.input :email, input_html: { required: true } - = f.input :name, input_html: { required: true }, hint: 'This is your real name' = f.input :password, input_html: { required: true } = f.input :password_confirmation, input_html: { required: true } %p.text-right