'fieldset' added to admin-project-create

This commit is contained in:
gaelle morin 2020-01-08 10:58:59 +01:00
parent 1ca894298e
commit 52dc49fcd2
No known key found for this signature in database
GPG Key ID: BC97AADCB48B7F27
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,7 @@
sib-widget(name='hd-template-project-title')
template
p ${value}
div.content-box__info
sib-link(class="backlink" next='admin-project-list') Back
@ -17,7 +21,19 @@ div.content-box__info
sib-form.block(
data-src=`${endpoints.projects}`
fields='line-1(customer.name, name), line-2(customer.logo), line-3(project.description), line-4(businessProvider.name, businessProvider.fee), line-5(customer.companyRegister), line-6(customer.address), line-7(customer.firstName, customer.lastName), line-8(customer.role), line-9(customer.email, customer.phone), line-10(captain)'
fields='line-1(customer.name, name), line-2(customer.logo), line-3(project.description), fieldset-fee, line-4(businessProvider.name, businessProvider.fee), fieldset-customer, line-5(customer.companyRegister), line-6(customer.address), line-7(customer.firstName, customer.lastName), line-8(customer.role), line-9(customer.email, customer.phone), fieldset-captain, line-10(captain)'
class-fieldset-fee='fieldset'
value-fieldset-fee='Fee'
widget-fieldset-fee='hd-template-project-title'
class-fieldset-customer='fieldset'
value-fieldset-customer='Customer\'s information'
widget-fieldset-customer='hd-template-project-title'
class-fieldset-captain='fieldset'
value-fieldset-captain='Captain'
widget-fieldset-captain='hd-template-project-title'
label-customer.name='Customer\'s name*'
class-customer.name='form-label is-light is-half-width'

View File

@ -19,7 +19,8 @@
flex: 1 0 100%;
font-size: 1.8rem;
font-weight: 600;
padding-bottom: 1rem;
margin: 2.6rem 0 1.8rem;
padding-bottom: 0.8rem;
}
p.center {