2019-08-06 12:32:55 +00:00
|
|
|
sib-widget(name='hd-fieldset-title')
|
|
|
|
template
|
|
|
|
label ${label}
|
|
|
|
|
|
|
|
sib-widget(name='hd-project-members')
|
|
|
|
template
|
|
|
|
sib-display.member-info(
|
|
|
|
data-src='${id}',
|
|
|
|
fields='user.account.picture, user.name, name',
|
|
|
|
widget-user.account.picture='sib-display-img'
|
|
|
|
)
|
|
|
|
|
|
|
|
sib-widget(name='hd-member-form')
|
|
|
|
template
|
|
|
|
sib-form.member-add(
|
|
|
|
data-src='https://api.test-paris.happy-dev.fr/projects/2/',
|
|
|
|
range-user='https://api.test-paris.happy-dev.fr/users/',
|
|
|
|
nested-field='members',
|
|
|
|
fields='member-form__input(user, name)',
|
|
|
|
|
|
|
|
class-user='member-select form-label is-light is-half-width',
|
|
|
|
label-user='Member',
|
|
|
|
widget-user='sib-form-auto-completion',
|
|
|
|
|
|
|
|
class-name='form-label is-light is-half-width',
|
|
|
|
label-name='Role',
|
|
|
|
|
|
|
|
submit-button='Add'
|
|
|
|
)
|
2019-04-15 21:11:56 +00:00
|
|
|
|
2019-05-14 15:32:42 +00:00
|
|
|
|
2019-06-18 06:48:32 +00:00
|
|
|
.content-box.with-padding.with-form.full-width
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2019-01-28 17:19:42 +00:00
|
|
|
h1 Edit your project
|
2019-08-06 12:32:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
sib-form.form-container.block(
|
|
|
|
bind-resources
|
|
|
|
|
|
|
|
fields='fieldset-info, block-project__info(customer.name, name, customer.logo, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee), fieldset-customer, block-project__customer(customer.companyRegister, customer.address, customer.firstName, customer.lastName, customer.role, customer.email, customer.phone), fieldset-members, block-project__members(member-form, members)'
|
|
|
|
|
|
|
|
class-customer.name='form-label is-light is-half-width'
|
|
|
|
class-name='form-label is-light is-half-width'
|
|
|
|
class-customer.logo='form-label is-light is-full-width'
|
|
|
|
class-description='form-label is-light is-full-width'
|
|
|
|
label-fieldset-info=''
|
|
|
|
label-customer.name='Customer\'s name'
|
|
|
|
label-name='Project\'s name*'
|
|
|
|
label-customer.logo='Customer\'s logo'
|
|
|
|
label-description='Project description'
|
|
|
|
upload-url-customer.logo=''
|
|
|
|
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'
|
|
|
|
label-fieldset-fee='Fee'
|
|
|
|
label-businessprovider='Business provider'
|
|
|
|
label-businessproviderfee='Amount of the contribution'
|
|
|
|
widget-fieldset-fee='hd-fieldset-title'
|
|
|
|
|
|
|
|
class-fieldset-customer='fieldset'
|
|
|
|
class-customer.companyregister='form-label is-light is-half-width'
|
|
|
|
class-customer.address='form-label is-light is-half-width'
|
|
|
|
class-customer.firstname='form-label is-light is-half-width'
|
|
|
|
class-customer.lastname='form-label is-light is-half-width'
|
|
|
|
class-customer.role='form-label is-light is-half-width'
|
|
|
|
class-customer.email='form-label is-light is-half-width'
|
|
|
|
class-customer.phone='form-label is-light is-half-width'
|
|
|
|
label-fieldset-customer='Customer\'s information'
|
|
|
|
label-customer.companyregister='Company register*'
|
|
|
|
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-fieldset-title'
|
|
|
|
|
|
|
|
class-fieldset-members='fieldset'
|
|
|
|
label-fieldset-members='Team'
|
|
|
|
label-members=''
|
|
|
|
multiple-members=''
|
|
|
|
widget-members='hd-project-members'
|
|
|
|
widget-fieldset-members='hd-fieldset-title'
|
|
|
|
widget-member-form='hd-member-form'
|
|
|
|
|
|
|
|
submit-button='Submit'
|
|
|
|
)
|