Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
knowledgebase-front
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Knowledge Base
knowledgebase-front
Commits
b04f5f15
Commit
b04f5f15
authored
5 years ago
by
Benoit Alessandroni
Browse files
Options
Downloads
Patches
Plain Diff
Proper completion of mentor or entrepreneur profile
parent
a6cd5e36
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!15
Feature/fix login workflow
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/includes/entrepreneur/create.pug
+12
-12
12 additions, 12 deletions
src/includes/entrepreneur/create.pug
src/includes/mentor/create.pug
+3
-1
3 additions, 1 deletion
src/includes/mentor/create.pug
with
15 additions
and
13 deletions
src/includes/entrepreneur/create.pug
+
12
−
12
View file @
b04f5f15
...
@@ -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"
)
)
This diff is collapsed.
Click to expand it.
src/includes/mentor/create.pug
+
3
−
1
View file @
b04f5f15
...
@@ -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'
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment