hubl/src/views/admin/page-admin-projects-create.pug

61 lines
1.9 KiB
Plaintext
Raw Normal View History

2020-05-08 13:27:44 +00:00
sib-widget(name='hubl-template-project-title')
template
p ${value}
div.content-box__info
2020-04-21 09:43:01 +00:00
sib-link(class="backlink right" next='admin-project-list') Retour
2020-05-08 13:27:44 +00:00
sib-widget(name="hubl-admin-project-add-user")
2019-12-12 13:34:09 +00:00
template
sib-form(
data-holder
fields='user, project'
range-user=`${endpoints.users || endpoints.get.users}`
2019-12-12 13:34:09 +00:00
value-project='${src}'
widget-project='sib-form-hidden'
naked
)
2020-04-21 09:43:01 +00:00
h1.centered Créer un projet
2020-04-02 16:09:23 +00:00
sib-form(
data-src=`${endpoints.projects || endpoints.post.projects}`
2020-01-14 10:57:22 +00:00
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'
2020-04-21 09:43:01 +00:00
value-fieldset-fee='Contributions'
2020-05-08 13:27:44 +00:00
widget-fieldset-fee='hubl-template-project-title'
class-fieldset-captain='fieldset'
2020-04-21 09:43:01 +00:00
value-fieldset-captain='Capitaine'
2020-05-08 13:27:44 +00:00
widget-fieldset-captain='hubl-template-project-title'
2020-04-21 09:43:01 +00:00
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'
2020-04-21 09:43:01 +00:00
label-name='Nom du projet*'
class-name='form-label is-light is-half-width'
2020-04-21 09:43:01 +00:00
label-project.description='Description du projet'
class-project.description='form-label is-light is-full-width'
widget-project.description='sib-form-textarea'
2020-04-21 09:43:01 +00:00
label-businessProvider.name='Apporteur d\'affaire*'
class-businessProvider.name='form-label is-light is-half-width'
2020-04-21 09:43:01 +00:00
label-businessProvider.fee='Contribution'
class-businessProvider.fee='form-label is-light is-half-width'
2020-04-21 09:43:01 +00:00
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'
2020-04-21 09:43:01 +00:00
submit-button='Enregistrer'
)