Commit 9f59a0ac authored by Bianca Tarun's avatar Bianca Tarun

edited devise views

parent ec804766
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
<div class="form-inputs"> <div class="form-inputs">
<%= f.input :first_name, required:true %> <%= f.input :first_name, required:true %>
<%= f.input :last_name, required:true %> <%= f.input :last_name, required:true %>
<%= f.input :birthday, required:true %> <%= f.input :birthday, as: :date, start_year: Time.now.year - 100, end_year: Time.now.year - 18, include_blank: :false %>
<%= f.input :email, required: true, autofocus: true %> <%= f.input :email, required: true, autofocus: true %>
<%= f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %> <%= f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %>
<%= f.input :password_confirmation, required: true %> <%= f.input :password_confirmation, required: true %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment