From 101617fed8aa3357ec3579d67396250057740940 Mon Sep 17 00:00:00 2001 From: maxime_senza Date: Wed, 27 May 2020 12:42:08 +0200 Subject: [PATCH] feature : project - remove unwanted fields from the creation form --- src/views/admin/page-admin-projects-create.pug | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/views/admin/page-admin-projects-create.pug b/src/views/admin/page-admin-projects-create.pug index 44c9101..ae158bd 100644 --- a/src/views/admin/page-admin-projects-create.pug +++ b/src/views/admin/page-admin-projects-create.pug @@ -21,33 +21,21 @@ div.content-box__info sib-form( 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)' + fields='line-1(customer, name), line-10(captain)' class-fieldset-fee='fieldset' value-fieldset-fee='Contributions' widget-fieldset-fee='hubl-template-project-title' class-fieldset-captain='fieldset' - value-fieldset-captain='Capitaine' widget-fieldset-captain='hubl-template-project-title' label-customer='Nom du client*' - class-customer='member-select form-label is-light is-half-width' - range-customer=`${endpoints.customers || endpoints.get.customers}` - widget-customer='sib-form-auto-completion' + class-customer='form-label is-light is-half-width' label-name='Nom du projet*' class-name='form-label is-light is-half-width' - label-project.description='Description du projet' - class-project.description='form-label is-light is-full-width' - widget-project.description='sib-form-textarea' - - label-businessProvider.name='Apporteur d\'affaire*' - class-businessProvider.name='form-label is-light is-half-width' - - label-businessProvider.fee='Contribution' - class-businessProvider.fee='form-label is-light is-half-width' label-captain='Capitaine du projet' range-captain=`${endpoints.users || endpoints.get.users}`