Skip to content

Commit fff4f13

Browse files
committed
Revert "update to use hint and placeholder for Skills field"
Reverting this to make it part of a separate PR. This reverts commit 3fabf63.
1 parent eda5dcc commit fff4f13

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/views/members/_new.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
wrapper_html: { class: class_names('mt-n3', 'd-none': !@member.other_dietary_restrictions?) }, label_html: { class: 'sr-only' }
2020
- if @member.coach?
2121
.col-12
22-
= f.input :skill_list, input_html: { value: @member.skill_list.join(", ") }
22+
= f.input :skill_list, label: 'Skills, enter as a comma separated list', input_html: { value: @member.skill_list.join(", ") }
2323
.col-12.text-right
2424
= f.button :button, submit_text, class: 'btn btn-primary'

config/locales/en.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,6 @@ en:
671671
name: 'Grace'
672672
surname: 'Hopper'
673673
pronouns: 'e.g she/her/they'
674-
skill_list: 'e.g. HTML, CSS, JavaScript, React, Ruby, Python, SQL'
675674
job:
676675
company: 'e.g. codebar'
677676
company_website: 'e.g. https://codebar.io'
@@ -687,7 +686,6 @@ en:
687686
hints:
688687
member:
689688
email: 'This is needed so we can email you invitations to our events'
690-
skill_list: 'Enter as a comma separated list'
691689
workshop_invitation:
692690
note: 'Pairing preferences or anything else you think we should know.'
693691
job:
@@ -724,7 +722,6 @@ en:
724722
number_of_coaches: Coach spots
725723
seats: Student spots
726724
member:
727-
skill_list: Skills
728725
dietary_restrictions: If you have any dietary restrictions, let us know about them here
729726
activerecord:
730727
attributes:

0 commit comments

Comments
 (0)