customer dropdown in edit-project

This commit is contained in:
Calum Mackervoy 2020-01-09 15:21:17 +01:00
parent 9ad8126311
commit bb40beb449
2 changed files with 5 additions and 24 deletions

View File

@ -7,6 +7,7 @@
"groups": "http://localhost:8000/groups/", "groups": "http://localhost:8000/groups/",
"joboffers": "http://localhost:8000/job-offers/", "joboffers": "http://localhost:8000/job-offers/",
"projects": "http://localhost:8000/projects/", "projects": "http://localhost:8000/projects/",
"customers": "http://localhost:8000/customers/",
"skills": "http://localhost:8000/skills/", "skills": "http://localhost:8000/skills/",
"users": "http://localhost:8000/users/" "users": "http://localhost:8000/users/"
} }

View File

@ -13,18 +13,16 @@ div.content-box__info
sib-form.form-container.block( sib-form.form-container.block(
bind-resources 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)' fields='fieldset-info, block-project__info(customer, name, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee)'
class-customer.name='form-label is-light is-half-width' class-customer='form-label is-light is-half-width'
class-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' class-description='form-label is-light is-full-width'
label-fieldset-info='' label-fieldset-info=''
label-customer.name='Customer\'s name' label-customer='Customer'
range-customer=`${endpoints.customer}`
label-name='Project\'s name*' label-name='Project\'s name*'
label-customer.logo='Customer\'s logo'
label-description='Project description' label-description='Project description'
upload-url-customer.logo=''
widget-fieldset-info='hd-fieldset-title' widget-fieldset-info='hd-fieldset-title'
widget-description='sib-form-textarea' widget-description='sib-form-textarea'
@ -36,24 +34,6 @@ div.content-box__info
label-businessproviderfee='Amount of the contribution' label-businessproviderfee='Amount of the contribution'
widget-fieldset-fee='hd-fieldset-title' 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'
submit-button='Save' submit-button='Save'
) )