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

Adding user account creation

parent 6b377861
No related branches found
No related tags found
1 merge request!2Feature/adding user account creation
h2 Create an entrepreneur account
sib-form(
data-src=`${endpoints.users}`
fields="username, last_name, first_name, entrepreneur_profile.organisation,\
email, password, password_confirmation"
range-entrepreneur_profile.organisation=`${endpoints.organisations}`
label-first_name="Surname"
label-last_name="Name"
label-username="Username"
label-email="Email"
label-entrepreneur_profile.organisation="Organisation *"
label-password="Password"
label-password_confirmation="Password confirmation"
class-entrepreneur_profile.organisation='form-label is-dark'
multiple-entrepreneur_profile.organisation='sib-multiple-select'
widget-entrepreneur_profile.organisation='sib-form-auto-completion'
submit-button="CREATE AN ACCOUNT"
)
......@@ -10,43 +10,41 @@ sib-widget(name='cs-section_introduction')
h2 ${label}
p Informations will appear on your profile to inform entrepreneurs about your skills and activities. We will also use those information to address specific resources for validation.
details
summary All available fields:
sib-form(
data-src=`${endpoints.users}`
fields="account_information(header_account, username, last_name, first_name, mentor_profile.organisation,\
email, mentor_profile.phone, mentor_profile.language,\
password, password_confirmation, 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)"
label-header_account="Create a mentor account"
label-header_about_you="About you"
label-header_social_media="Social medias"
widget-header_social_media="cs-section_header"
widget-header_account="cs-section_header"
widget-header_about_you="cs-section_introduction"
label-first_name="Surname"
label-last_name="Name"
label-email="Email"
label-mentor_profile.organisation="Organisation"
label-mentor_profile.phone="Phone number"
label-password="Password"
label-password_confirmation="Password confirmation"
label-mentor_profile.language="Language"
label-account.picture="Photo"
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"
sib-form(
data-src=`${endpoints.users}`
fields="account_information(header_account, username, last_name, first_name, mentor_profile.organisation,\
email, mentor_profile.phone, mentor_profile.language,\
password, password_confirmation, 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)"
label-header_account="Create a mentor account"
label-header_about_you="About you"
label-header_social_media="Social medias"
widget-header_social_media="cs-section_header"
widget-header_account="cs-section_header"
widget-header_about_you="cs-section_introduction"
label-first_name="Surname"
label-last_name="Name"
label-email="Email"
label-mentor_profile.organisation="Organisation"
label-mentor_profile.phone="Phone number"
label-password="Password"
label-password_confirmation="Password confirmation"
label-mentor_profile.language="Language"
label-account.picture="Photo"
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"
submit-button="CREATE AN ACCOUNT"
widget-username="sib-form-hidden"
)
submit-button="CREATE AN ACCOUNT"
widget-username="sib-form-hidden"
)
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