Skip to content

Commit c502f5e

Browse files
committed
fix form field names
1 parent fe810b0 commit c502f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/handlers/newflow/student_signup/signup_form.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class SignupForm
1111
attribute :first_name, type: String
1212
attribute :last_name, type: String
1313
attribute :email, type: String
14-
attribute :school_name, type: String
14+
attribute :school, type: String
1515
attribute :password, type: String
1616
attribute :is_title_1_school, type: boolean
1717
attribute :newsletter, type: boolean
@@ -85,7 +85,7 @@ def create_user
8585
role: :student,
8686
first_name: signup_params.first_name,
8787
last_name: signup_params.last_name,
88-
self_reported_school: signup_params.school_name,
88+
self_reported_school: signup_params.school,
8989
phone_number: signup_params.phone_number,
9090
receive_newsletter: signup_params.newsletter,
9191
source_application: options[:client_app],

0 commit comments

Comments
 (0)