Skip to content

Commit d101859

Browse files
committed
update to use hint and placeholder for Skills
update to use hint and placeholder for Skills field.
1 parent dd66a50 commit d101859

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/views/members/_new.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
= f.input :about_you, as: :text, label: 'Tell us a little bit about yourself', input_html: { rows: 3 }, required: true
1515
- if @member.coach?
1616
.col-12
17-
= f.input :skill_list, label: 'Skills, enter as a comma separated list', input_html: { value: @member.skill_list.join(", ") }
17+
= f.input :skill_list, input_html: { value: @member.skill_list.join(", ") }
1818
.col-12.text-right
1919
= f.button :button, submit_text, class: 'btn btn-primary'

config/locales/en.yml

Lines changed: 4 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:
@@ -721,6 +723,8 @@ en:
721723
accessibility_info: Accessibility information
722724
number_of_coaches: Coach spots
723725
seats: Student spots
726+
member:
727+
skill_list: Skills
724728
activerecord:
725729
attributes:
726730
job:

0 commit comments

Comments
 (0)