2020-05-18 08:47:43 +00:00
|
|
|
div.content-box__info.flex
|
2020-04-21 09:43:01 +00:00
|
|
|
sib-link(class="backlink right" next='admin-project-list') Retour
|
2019-12-09 17:23:47 +00:00
|
|
|
|
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'
|
2020-02-03 13:39:14 +00:00
|
|
|
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
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-05-25 13:05:05 +00:00
|
|
|
sib-form.form.button-register(
|
2020-02-03 13:39:14 +00:00
|
|
|
data-src=`${endpoints.projects || endpoints.post.projects}`
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-06-11 13:20:20 +00:00
|
|
|
fields='line-1(customer, name), line-2(project.description), line-3(businessProvider.name, businessProvider.fee), line-4(captain)'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
label-customer='Nom du client*'
|
2020-05-26 08:51:06 +00:00
|
|
|
class-customer='form-label is-light is-half-width'
|
2020-02-03 13:39:14 +00:00
|
|
|
range-customer=`${endpoints.customers || endpoints.get.customers}`
|
2020-01-16 17:48:21 +00:00
|
|
|
widget-customer='sib-form-auto-completion'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
label-name='Nom du projet*'
|
2020-05-17 19:10:46 +00:00
|
|
|
class-name='form-label is-light is-half-width input-text-like'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
label-project.description='Description du projet'
|
2020-05-17 19:10:46 +00:00
|
|
|
class-project.description='form-label is-light is-full-width input-text-like'
|
2020-01-06 16:40:58 +00:00
|
|
|
widget-project.description='sib-form-textarea'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
label-businessProvider.name='Apporteur d\'affaire*'
|
2020-05-17 19:10:46 +00:00
|
|
|
class-businessProvider.name='form-label is-light is-half-width input-text-like'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
label-businessProvider.fee='Contribution'
|
2020-05-17 19:10:46 +00:00
|
|
|
class-businessProvider.fee='form-label is-light is-half-width input-text-like'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
label-captain='Capitaine du projet'
|
2020-02-03 13:39:14 +00:00
|
|
|
range-captain=`${endpoints.users || endpoints.get.users}`
|
2020-05-26 08:51:06 +00:00
|
|
|
class-captain='form-label is-light is-half-width'
|
2020-01-06 16:40:58 +00:00
|
|
|
widget-captain='sib-form-auto-completion'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
next='admin-project-list'
|
|
|
|
|
2020-04-21 09:43:01 +00:00
|
|
|
submit-button='Enregistrer'
|
2019-12-09 17:23:47 +00:00
|
|
|
)
|