Added hints for username and name in sign up form

This commit is contained in:
Alator 2017-03-28 17:54:27 +03:00
parent d860ec5607
commit f90aac3dc0

View file

@ -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 }
= f.input :username, input_html: { required: true },hint: 'This is how the other users see you,not your real name.'
= f.input :email, input_html: { required: true }
= f.input :name, 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