diff --git a/app/assets/javascripts/registrations/schools_form.js b/app/assets/javascripts/registrations/schools_form.js index 870f844b..d3be6127 100644 --- a/app/assets/javascripts/registrations/schools_form.js +++ b/app/assets/javascripts/registrations/schools_form.js @@ -22,12 +22,10 @@ var schoolsForm = (function () { function showStudentFields() { $("#student-only").show(); - $("#user_student_id").attr("placeholder", "Student ID # *"); } function hideStudentFields() { $("#student-only").hide(); - $("#user_student_id").attr("placeholder", "Students' ID #s"); } function makeStudentIdRequired() { diff --git a/app/views/devise/registrations/_schools_form.html.erb b/app/views/devise/registrations/_schools_form.html.erb index 8e937383..7171e711 100644 --- a/app/views/devise/registrations/_schools_form.html.erb +++ b/app/views/devise/registrations/_schools_form.html.erb @@ -26,9 +26,9 @@ - +
+ <%= f.label :student_id, t('login_signup.student_id'), class: "signup-label" %> + <%= f.text_field :student_id, placeholder: "Student ID # *", required: true %> +
-
- <%= f.label :student_id, t('login_signup.student_id'), class: "signup-label" %> - <%= f.text_field :student_id, placeholder: "Students' ID #s" %>