Skip to content

Commit 5caf25a

Browse files
Merge pull request #3 from Jonathanlau92/add-contact-number
fix typo to display contact input on student form
2 parents 7e198dd + 9e5625a commit 5caf25a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

app/views/students/new.html.erb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<div class="container">
2-
<div class='text-center'>Add progress bar here</div>
1+
<div class='text-center'>Add progress bar here</div>
32
<h1 class='mt-3 text-center'>Help us to get to know you better</h1>
43
<div class='form-group'>
54
<%= form_for @student do |f| %>
@@ -29,9 +28,9 @@
2928
</div>
3029
</div>
3130
<div class='form-group'>
32-
<% f.label :contact_number %>
31+
<%= f.label :contact_number %>
3332
<span>Your contact number will only be accessible by the CTSS Team and no one else. It will only be used it the extreme case when the tutor is unable to contact you via email for tutoring. This number will be a way for us to contact you immediately, and will not be sent to anyone.</span>
34-
<% f.number_field :contact_number, class: 'form-control' %>
33+
<%= f.number_field :contact_number, class: 'form-control' %>
3534
</div>
3635
<div class='form-group'>
3736
<%= f.label :education_level %>
@@ -42,5 +41,4 @@
4241
<%= f.submit 'Next', class: 'btn next-button' %>
4342
</div>
4443
</div>
45-
<% end %>
46-
</div>
44+
<% end %>

0 commit comments

Comments
 (0)