diff --git a/src/includes/entrepreneur/create.pug b/src/includes/entrepreneur/create.pug index 8f40f7eadc344b5359fb51ed54456849fced3f6f..2afd8bf926b819fb510ac72bd31003ce32401194 100644 --- a/src/includes/entrepreneur/create.pug +++ b/src/includes/entrepreneur/create.pug @@ -1,3 +1,5 @@ +include ../components/widgets + h2 Create an entrepreneur account sib-form( @@ -20,6 +22,9 @@ sib-form( multiple-organisation='sib-multiple-select' widget-organisation='sib-form-auto-completion' + widget-user.password='cs-form-password' + widget-user.password_confirmation='cs-form-password' + submit-button="CREATE AN ACCOUNT" ) diff --git a/src/includes/splash.pug b/src/includes/splash.pug index 8c90634d8d2cb384ecf318818d762d712c089e5c..caa93d28e8756c11e84d49679b53c4f40e0431d5 100644 --- a/src/includes/splash.pug +++ b/src/includes/splash.pug @@ -2,7 +2,7 @@ sib-router sib-route(name='mentor-login') sib-route(name='entrepreneur-login') -h2 Welcome to your international index of resources for cooperative mentors and entrepreneurs +h2 Welcome to our international index of resources for cooperative mentors and entrepreneurs sib-link(next='mentor-login') div I am a mentor diff --git a/src/index.pug b/src/index.pug index 0258bf29bf8b0c2b5e6443cc6a250251c222e4d8..6d77ee8cda63fcdb6661595bfcc61297033a6f56 100644 --- a/src/index.pug +++ b/src/index.pug @@ -7,13 +7,13 @@ html sib-route(name='mentor-new-account') sib-route(name='entrepreneur-new-account') sib-route(name='mentor-dashboard') - sib-route(name='entrepreneur-search-page') + sib-route(name='entrepreneur-dashboard') body #mentor-dashboard(hidden).no-sidebar include includes/mentor/dashboard.pug - #entrepreneur-search-page(hidden).no-sidebar + #entrepreneur-dashboard(hidden).no-sidebar include includes/entrepreneur/dashboard.pug #splash(hidden).no-sidebar @@ -53,11 +53,9 @@ script(type='module'). let idToken = await sibAuth.getUserIdToken(); if ( !user ) { - console.log("You're not logged in"); return; } user = await store.get(user); - console.log('Retrieved user', user); if (user && user.mentor_profile) { window.dispatchEvent(