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

Proper completion of mentor or entrepreneur profile

parent a6cd5e36
No related branches found
No related tags found
1 merge request!15Feature/fix login workflow
...@@ -3,22 +3,22 @@ include ../components/widgets ...@@ -3,22 +3,22 @@ include ../components/widgets
h2.title_form Complete your entrepreneur account h2.title_form Complete your entrepreneur account
sib-form( sib-form(
data-src=`${endpoints.entrepreneurs}` bind-user
fields="user.last_name, user.first_name, organisation" fields="last_name, first_name, entrepreneur_profile.organisation, username"
range-organisation=`${endpoints.organisations}` range-entrepreneur_profile.organisation=`${endpoints.organisations}`
label-user.first_name="Surname" label-first_name="Surname"
label-user.last_name="Name" label-last_name="Name"
label-organisation="Organisation *" label-entrepreneur_profile.organisation="Organisation *"
class-organisation='form-label is-dark' class-entrepreneur_profile.organisation='form-label is-dark'
multiple-organisation='sib-multiple-select' multiple-entrepreneur_profile.organisation='sib-multiple-select'
widget-organisation='sib-form-auto-completion' widget-entrepreneur_profile.organisation='sib-form-auto-completion'
widget-user.password='cs-form-password' widget-username='sib-form-hidden'
widget-user.password_confirmation='cs-form-password'
submit-button="COMPLETE YOUR ACCOUNT" submit-button="COMPLETE YOUR ACCOUNT"
next="entrepreneur-dashboard"
) )
...@@ -16,7 +16,7 @@ sib-form( ...@@ -16,7 +16,7 @@ sib-form(
mentor_profile.phone, mentor_profile.language, account.picture),\ mentor_profile.phone, mentor_profile.language, account.picture),\
about_you(header_about_you, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\ about_you(header_about_you, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\
mentor_profile.biography, mentor_profile.skills),\ mentor_profile.biography, mentor_profile.skills),\
social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter)" social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter), username"
range-mentor_profile.organisation=`${endpoints.organisations}` range-mentor_profile.organisation=`${endpoints.organisations}`
...@@ -44,6 +44,7 @@ sib-form( ...@@ -44,6 +44,7 @@ sib-form(
widget-mentor_profile.skills="sib-form-textarea" widget-mentor_profile.skills="sib-form-textarea"
widget-mentor_profile.biography="sib-form-textarea" widget-mentor_profile.biography="sib-form-textarea"
widget-username="sib-form-hidden"
class-mentor_profile.organisation='form-label is-dark' class-mentor_profile.organisation='form-label is-dark'
multiple-mentor_profile.organisation='sib-multiple-select' multiple-mentor_profile.organisation='sib-multiple-select'
...@@ -54,4 +55,5 @@ sib-form( ...@@ -54,4 +55,5 @@ sib-form(
widget-mentor_profile.language='sib-form-auto-completion' widget-mentor_profile.language='sib-form-auto-completion'
submit-button="COMPLETE YOUR ACCOUNT" submit-button="COMPLETE YOUR ACCOUNT"
next='mentor-dashboard'
) )
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