feature : project - remove unwanted fields from the creation form

This commit is contained in:
maxime_senza 2020-05-27 12:42:08 +02:00
parent 567c7304ed
commit 101617fed8

View File

@ -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}`