Skip to content

Commit 3fabf63

Browse files
committed
update to use hint and placeholder for Skills field
1 parent 714f975 commit 3fabf63

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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, label: 'Skills, enter as a comma separated list', input_html: { value: @member.skill_list.join(", ") }
22+
= f.input :skill_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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ 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'
674675
job:
675676
company: 'e.g. codebar'
676677
company_website: 'e.g. https://codebar.io'
@@ -686,6 +687,7 @@ en:
686687
hints:
687688
member:
688689
email: 'This is needed so we can email you invitations to our events'
690+
skill_list: 'Enter as a comma separated list'
689691
workshop_invitation:
690692
note: 'Pairing preferences or anything else you think we should know.'
691693
job:
@@ -722,6 +724,7 @@ en:
722724
number_of_coaches: Coach spots
723725
seats: Student spots
724726
member:
727+
skill_list: Skills
725728
dietary_restrictions: If you have any dietary restrictions, let us know about them here
726729
activerecord:
727730
attributes:

0 commit comments

Comments
 (0)