hubl/src/page-project-edit.pug

56 lines
2.0 KiB
Plaintext
Raw Normal View History

2019-05-14 15:32:42 +00:00
.content-box.with-padding.with-form.full-width
h1 Edit your project
2019-05-14 15:32:42 +00:00
p Here you can edit your projet's details
sib-widget(name='hd-template-project-title')
template
span ${label}
sib-widget(name='template-members')
template
sib-form.team.is-horizontal(
naked,
data-src='${id}',
2019-07-23 13:08:59 +00:00
fields='user.name, name',
2019-06-24 11:56:49 +00:00
range-user.name=`${endpoints.users}`,
2019-05-14 15:32:42 +00:00
class-name='field',
class-user.name='field',
label-name='Role',
label-user.name='Member(s)',
)
sib-form.block(
2019-07-23 13:08:59 +00:00
fields='block-project__info(customer.name, name, customer.logo, description), block-project__fee(fieldset-fee, businessProvider, businessProvider.fee), block-project__customer(fieldset-customer, customer.companyRegister, customer.address, customer.firstName, customer.lastName, customer.role, customer.email, customer.phone), block-project__team(fieldset-team, members)',
2019-05-14 15:32:42 +00:00
label-customer.name='Customer\'s name',
label-name='Project\'s name',
label-customer.logo='Customer\'s logo',
label-description='Project description',
2019-06-24 11:56:49 +00:00
range-businessProvider=`${endpoints.businessproviders}`,
2019-05-14 15:32:42 +00:00
label-businessProvider='Business provider',
label-businessProvider.fee='Amount of the contribution (%)',
widget-fieldset-fee='hd-template-project-title',
widget-businessProvider.fee='sib-form-number',
label-fieldset-fee='Fee',
label-customer.companyRegister='Company registration number',
label-customer.address='Address',
label-customer.firstName='Name of the contact at the customer\'s premises',
label-customer.lastName='Firstname of the contact at the customer\'s premises',
label-customer.role='Role within the company',
label-customer.email='Email',
label-customer.phone='Phone',
widget-fieldset-customer='hd-template-project-title',
label-fieldset-customer='Customer information',
label-fieldset-team='The team',
widget-fieldset-team='hd-template-project-title',
widget-members='template-members',
multiple-members,
bind-resources
)