Skip to content
Snippets Groups Projects
Commit a6cd5e36 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Trying to fix the mentor completion form

parent 28bf4baa
No related branches found
No related tags found
1 merge request!15Feature/fix login workflow
......@@ -11,16 +11,16 @@ figure.logo.img_log
h2.title_form Complete your mentor account
sib-form(
data-src=`${endpoints.mentors}`
fields="account_information(user.last_name, user.first_name, organisation,\
phone, language, account.picture),\
about_you(header_about_you, headline, city, country,\
biography, skills),\
social_media(header_social_media, linkedin, twitter)"
bind-user
fields="account_information(last_name, first_name, mentor_profile.organisation,\
mentor_profile.phone, mentor_profile.language, account.picture),\
about_you(header_about_you, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\
mentor_profile.biography, mentor_profile.skills),\
social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter)"
range-organisation=`${endpoints.organisations}`
range-language=`${endpoints.languages}`
range-mentor_profile.organisation=`${endpoints.organisations}`
range-mentor_profile.language=`${endpoints.languages}`
label-header_about_you="About you"
label-header_social_media="Social medias"
......@@ -28,30 +28,30 @@ sib-form(
widget-header_social_media="cs-section_header"
widget-header_about_you="cs-section_introduction"
label-user.first_name="Surname"
label-user.last_name="Name"
label-organisation="Organisation"
label-phone="Phone number"
label-language="Language"
label-first_name="Surname"
label-last_name="Name"
label-mentor_profile.organisation="Organisation"
label-mentor_profile.phone="Phone number"
label-mentor_profile.language="Language"
label-account.picture="Photo"
label-headline="Headline or current position"
label-city="City"
label-country="Country"
label-biography="Tell us more about your activities"
label-skills="What skills can you share with our entrepreneurs ?"
label-linkedin="Linkedin"
label-twitter="Twitter"
widget-skills="sib-form-textarea"
widget-biography="sib-form-textarea"
class-organisation='form-label is-dark'
multiple-organisation='sib-multiple-select'
widget-organisation='sib-form-auto-completion'
class-language='form-label is-dark'
multiple-language='sib-multiple-select'
widget-language='sib-form-auto-completion'
label-mentor_profile.headline="Headline or current position"
label-mentor_profile.city="City"
label-mentor_profile.country="Country"
label-mentor_profile.biography="Tell us more about your activities"
label-mentor_profile.skills="What skills can you share with our entrepreneurs ?"
label-mentor_profile.linkedin="Linkedin"
label-mentor_profile.twitter="Twitter"
widget-mentor_profile.skills="sib-form-textarea"
widget-mentor_profile.biography="sib-form-textarea"
class-mentor_profile.organisation='form-label is-dark'
multiple-mentor_profile.organisation='sib-multiple-select'
widget-mentor_profile.organisation='sib-form-auto-completion'
class-mentor_profile.language='form-label is-dark'
multiple-mentor_profile.language='sib-multiple-select'
widget-mentor_profile.language='sib-form-auto-completion'
submit-button="COMPLETE YOUR ACCOUNT"
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment