diff --git a/src/includes/entrepreneur/profile/edit.pug b/src/includes/entrepreneur/profile/edit.pug index 843aff7c9037c8e9354b58e6677496d3ace5e79d..fc5da4bc0021d19f2d1d8a97ac4b200708c55d57 100644 --- a/src/includes/entrepreneur/profile/edit.pug +++ b/src/includes/entrepreneur/profile/edit.pug @@ -2,7 +2,7 @@ include ../../components/widgets h2.title_create Edit your account -sib-form.block_log.block_creat_count( +sib-form#entrepreneur_profile_edition.block_log.block_creat_count( bind-user fields="info(last_name, first_name, username, email, entrepreneur_profile.organisation)" range-entrepreneur_profile.organisation=`${endpoints.organisations}` @@ -25,4 +25,6 @@ sib-form.block_log.block_creat_count( submit-button="Save modifications" next='entrepreneur-resource-list' -) \ No newline at end of file +) + +sib-link(class="backlink", next="entrepreneur-resource-list") Back to the dashboard \ No newline at end of file diff --git a/src/includes/mentor/profile/edit.pug b/src/includes/mentor/profile/edit.pug index 773da3ff42668170307730e4f515c0c0788e27c0..1cdcc94f189ee19f68b087c647354c29d67480ca 100644 --- a/src/includes/mentor/profile/edit.pug +++ b/src/includes/mentor/profile/edit.pug @@ -2,7 +2,7 @@ include ../../components/widgets h2.title_create Edit your account -sib-form.block_log.block_creat_count( +sib-form#mentor_profile_edition.block_log.block_creat_count( bind-user fields="account_information(last_name, first_name, mentor_profile.organisation,\ mentor_profile.phone, mentor_profile.languages, mentor_profile.fields),\ @@ -59,4 +59,6 @@ sib-form.block_log.block_creat_count( submit-button="Save modifications" next='mentor-dashboard' -) \ No newline at end of file +) + +sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard \ No newline at end of file diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js index 76f690678e2da6996756dd5cc3d8d7dda241d0a0..cccba7502132da236e1c9600f0830c5e5f95edad 100644 --- a/src/scripts/coopstarter.js +++ b/src/scripts/coopstarter.js @@ -77,6 +77,11 @@ jQuery(document).ready(function($) { refreshList("mentor_profile_creation", "mentor_info"); refreshList("mentor_profile_creation", "mentor_complementary"); refreshList("mentor_profile_creation", "mentor_contact"); + refreshList("entrepreneur_profile_edition", "entrepreneur_info"); + refreshList("entrepreneur_profile_edition", "entrepreneur_contact"); + refreshList("mentor_profile_edition", "mentor_info"); + refreshList("mentor_profile_edition", "mentor_complementary"); + refreshList("mentor_profile_edition", "mentor_contact"); const logoutButtons = document.getElementsByClassName("logout-button"); for (var i = 0; i < logoutButtons.length; i++) {