diff --git a/src/styles/base/form.scss b/src/styles/base/form.scss index 18a10f9..27e05fd 100644 --- a/src/styles/base/form.scss +++ b/src/styles/base/form.scss @@ -1,4 +1,4 @@ -form { +.form form { display: flex; flex-direction: column; margin-left: -3.4rem; diff --git a/src/views/admin/page-admin-circles-create.pug b/src/views/admin/page-admin-circles-create.pug index 8acd491..449e27f 100644 --- a/src/views/admin/page-admin-circles-create.pug +++ b/src/views/admin/page-admin-circles-create.pug @@ -3,7 +3,7 @@ div.content-box__info.flex h1.centered Créer un canal - sib-form.button-register( + sib-form.form.button-register( data-src=`${endpoints.circles || endpoints.post.circles}` fields='status, name, description' diff --git a/src/views/admin/page-admin-projects-create.pug b/src/views/admin/page-admin-projects-create.pug index 38ae911..31784f4 100644 --- a/src/views/admin/page-admin-projects-create.pug +++ b/src/views/admin/page-admin-projects-create.pug @@ -18,7 +18,7 @@ div.content-box__info.flex h1.centered Créer un projet - sib-form.button-register( + sib-form.form.button-register( data-src=`${endpoints.projects || endpoints.post.projects}` fields='line-1(customer, name), line-3(project.description), fieldset-fee, line-4(businessProvider.name, businessProvider.fee), fieldset-captain, line-10(captain)' diff --git a/src/views/admin/page-admin-users-create.pug b/src/views/admin/page-admin-users-create.pug index 8827165..a90d8c7 100644 --- a/src/views/admin/page-admin-users-create.pug +++ b/src/views/admin/page-admin-users-create.pug @@ -3,7 +3,7 @@ div.content-box__info.flex h1.centered Ajouter un utilisateur à la plateforme - sib-form.button-register( + sib-form.form.button-register( data-src=`${endpoints.users || endpoints.post.users}` fields='line-1(first_name, last_name), line-2(username, email), line-3(password)' diff --git a/src/views/admin/page-admin-users-edit.pug b/src/views/admin/page-admin-users-edit.pug index 751252a..5198749 100644 --- a/src/views/admin/page-admin-users-edit.pug +++ b/src/views/admin/page-admin-users-edit.pug @@ -8,7 +8,7 @@ div.content-box__info.flex fields='name' ) - sib-form.button-register( + sib-form.form.button-register( bind-resources='' fields='line-1(first_name, last_name), line-2(username, email)' diff --git a/src/views/circle/page-circle-edit.pug b/src/views/circle/page-circle-edit.pug index 8da2824..c475974 100644 --- a/src/views/circle/page-circle-edit.pug +++ b/src/views/circle/page-circle-edit.pug @@ -39,7 +39,7 @@ div.content-box__info.flex sib-ac-checker(permission='acl:Write', bind-resources) h1 Modifie ton canal - sib-form.button-register( + sib-form.form.button-register( bind-resources fields='status, block-circle__info(name, owner), description' diff --git a/src/views/project/page-project-edit.pug b/src/views/project/page-project-edit.pug index d775273..d4b30fe 100644 --- a/src/views/project/page-project-edit.pug +++ b/src/views/project/page-project-edit.pug @@ -10,7 +10,7 @@ div.content-box__info.flex h1 Modifie ton projet - sib-form.button-register( + sib-form.form.button-register( bind-resources fields='fieldset-info, block-project__info(customer, name, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee)'