Skip to content

Commit f62dbfa

Browse files
authored
CORE-1067: Fix label attachments on signup forms (#1654)
[CORE-1067]
1 parent ac72f04 commit f62dbfa

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/views/newflow/educator_signup/educator_signup_form.html.erb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</div>
3838

3939
<div class="content control-group">
40-
<%= label_tag :first_name, I18n.t(:"login_signup_form.legal_first_name_label"),
40+
<%= label_tag :signup_first_name, I18n.t(:"login_signup_form.legal_first_name_label"),
4141
class: 'field-label'
4242
%>
4343
<%= fh.text_field name: :first_name,
@@ -48,7 +48,7 @@
4848

4949
<div class="content control-group">
5050
<%=
51-
label_tag :last_name, I18n.t(:"login_signup_form.legal_last_name_label"),
51+
label_tag :signup_last_name, I18n.t(:"login_signup_form.legal_last_name_label"),
5252
class: 'field-label'
5353
%>
5454
<%=
@@ -58,7 +58,7 @@
5858
</div>
5959

6060
<div class="content control-group">
61-
<%= label_tag :phone_number, I18n.t(:"login_signup_form.phone_number_label"), class: 'field-label' %>
61+
<%= label_tag :signup_phone_number, I18n.t(:"login_signup_form.phone_number_label"), class: 'field-label' %>
6262
<%=
6363
fh.text_field name: :phone_number,
6464
type: 'tel',
@@ -72,7 +72,7 @@
7272
</div>
7373

7474
<div class="content control-group email-input-group newflow">
75-
<%= label_tag :email, I18n.t(:"login_signup_form.school_issued_email_label"), class: 'field-label' %>
75+
<%= label_tag :signup_email, I18n.t(:"login_signup_form.school_issued_email_label"), class: 'field-label' %>
7676
<%=
7777
fh.text_field(
7878
name: :email,
@@ -98,7 +98,7 @@
9898
<div class="content control-group">
9999
<div id="password-field-container">
100100
<div class="input-with-tooltip">
101-
<%= label_tag(:password, I18n.t(:"login_signup_form.password_label"), class: 'field-label') %>
101+
<%= label_tag(:signup_password, I18n.t(:"login_signup_form.password_label"), class: 'field-label') %>
102102
<%=
103103
fh.text_field(
104104
name: :password,

app/views/newflow/student_signup/student_signup_form.html.erb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
%>
7979

8080
<div class="content control-group">
81-
<%= label_tag :first_name, I18n.t(:"login_signup_form.first_name_label"),
81+
<%= label_tag :signup_first_name, I18n.t(:"login_signup_form.first_name_label"),
8282
class: 'field-label required'
8383
%>
8484
<%= form_helper.text_field name: :first_name,
@@ -90,7 +90,7 @@
9090

9191
<div class="content control-group">
9292
<%=
93-
label_tag :last_name, I18n.t(:"login_signup_form.last_name_label"),
93+
label_tag :signup_last_name, I18n.t(:"login_signup_form.last_name_label"),
9494
class: 'field-label required'
9595
%>
9696
<%=
@@ -101,7 +101,7 @@
101101
</div>
102102

103103
<div class="content control-group">
104-
<%= label_tag :email, I18n.t(:"login_signup_form.email_label"), class: 'field-label required' %>
104+
<%= label_tag :signup_email, I18n.t(:"login_signup_form.email_label"), class: 'field-label required' %>
105105
<%=
106106
form_helper.text_field(
107107
name: :email,
@@ -112,7 +112,7 @@
112112
</div>
113113

114114
<div class="content control-group">
115-
<%= label_tag :school, I18n.t(:"educator_profile_form.school_name"), class: 'field-label' %>
115+
<%= label_tag :signup_school, I18n.t(:"educator_profile_form.school_name"), class: 'field-label' %>
116116
<%=
117117
form_helper.text_field(
118118
name: :school,
@@ -128,7 +128,7 @@
128128
<div class="content control-group">
129129
<div id="password-field-container">
130130
<div class="input-with-tooltip">
131-
<%= label_tag :password, I18n.t(:"login_signup_form.password_label"),
131+
<%= label_tag :signup_password, I18n.t(:"login_signup_form.password_label"),
132132
class: 'field-label required'
133133
%>
134134
<%=

0 commit comments

Comments
 (0)