Skip to content

Commit

Permalink
Add placeholder to linkedin link input
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricio.albarnaz committed Oct 19, 2018
1 parent 5350572 commit 6b93284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/enterprises/form/_social.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.alpha.three.columns
= f.label :linkedin, 'LinkedIn'
.omega.eight.columns
= f.text_field :linkedin
= f.text_field :linkedin, { placeholder: t('.linkedin_placeholder') }
.row
.alpha.three.columns
= f.label :twitter
Expand Down
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,8 @@ en:
social:
twitter_placeholder: eg. @the_prof
instagram_placeholder: eg. @the_prof
facebook_placeholder: "eg. www.facebook.com/PageNameHere"
linkedin_placeholder: "eg. www.linkedin.com/in/YourNameHere"
facebook_placeholder: eg. www.facebook.com/PageNameHere
linkedin_placeholder: eg. www.linkedin.com/in/YourNameHere
stripe_connect:
connect_with_stripe: "Connect with Stripe"
stripe_connect_intro: "To accept payments using credit card, you will need to connect your stripe account to the Open Food Network. Use the button to the right to get started."
Expand Down

0 comments on commit 6b93284

Please sign in to comment.