hubl/src/views/project/page-project-edit.pug

71 lines
1.9 KiB
Plaintext
Raw Normal View History

div.content-box__info
include ../../templates/hd-user-avatar.pug
sib-widget(name='hd-fieldset-title')
template
label ${label}
2020-04-21 10:10:01 +00:00
sib-link(class='backlink right', bind-resources, next='project-profile') Retour
2020-04-21 10:10:01 +00:00
h1 Modifie ton projet
2020-04-02 16:09:23 +00:00
sib-form.form-edit(
bind-resources
fields='fieldset-info, block-project__info(customer, name, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee)'
2019-05-14 15:32:42 +00:00
class-customer='member-select form-label is-light is-half-width'
widget-customer='sib-form-auto-completion'
class-name='form-label is-light is-half-width'
class-description='form-label is-light is-full-width'
label-fieldset-info=''
2020-04-21 10:10:01 +00:00
label-customer='Client*'
range-customer=`${endpoints.customers || endpoints.get.customers}`
2020-04-21 10:10:01 +00:00
label-name='Nom du projet*'
label-description='Description du projet'
widget-fieldset-info='hd-fieldset-title'
widget-description='sib-form-textarea'
class-fieldset-fee='fieldset'
class-businessprovider='form-label is-light is-half-width'
class-businessproviderfee='form-label is-light is-half-width'
2020-04-21 10:10:01 +00:00
label-fieldset-fee='Contributions'
label-businessprovider='Apporteur d\'affaire'
label-businessproviderfee='Montant de la contribution'
widget-fieldset-fee='hd-fieldset-title'
2020-04-21 10:10:01 +00:00
submit-button='Enregistrer'
)
2020-04-21 10:10:01 +00:00
h2 Liste des membres :
sib-form.block.select-add-member(
bind-resources
nested-field='members'
fields='user'
range-user=`${endpoints.users || endpoints.get.users}`
class-user='team form-label is-dark'
label-user=''
widget-user='sib-form-auto-completion'
2020-04-21 10:10:01 +00:00
submit-button='Ajouter un membre'
)
.table
div.table-header.grey-color
2020-04-21 10:10:01 +00:00
div Nom
div Accès
//-class='table-body'
sib-display(
class='table-body'
bind-resources
fields='members'
multiple-members=''
widget-members='team-template-edit'
)