61 lines
2.0 KiB
Plaintext
61 lines
2.0 KiB
Plaintext
sib-widget(name='hubl-template-project-title')
|
|
template
|
|
p ${value}
|
|
|
|
div.content-box__info
|
|
sib-link(class="backlink right" next='admin-project-list') Retour
|
|
|
|
sib-widget(name="hubl-admin-project-add-user")
|
|
template
|
|
sib-form(
|
|
data-holder
|
|
fields='user, project'
|
|
range-user=`${endpoints.users || endpoints.get.users}`
|
|
value-project='${src}'
|
|
widget-project='sib-form-hidden'
|
|
naked
|
|
)
|
|
|
|
h1.centered Créer un projet
|
|
|
|
sib-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)'
|
|
|
|
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'
|
|
|
|
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}`
|
|
class-captain='member-select form-label is-light is-half-width'
|
|
widget-captain='sib-form-auto-completion'
|
|
|
|
next='admin-project-list'
|
|
|
|
submit-button='Enregistrer'
|
|
)
|