2019-12-09 17:23:47 +00:00
|
|
|
div.content-box__info
|
|
|
|
sib-link(class="backlink" next='admin-project-list') Back
|
|
|
|
|
2019-12-12 13:34:09 +00:00
|
|
|
sib-widget(name="admin-project-add-user")
|
|
|
|
template
|
|
|
|
sib-form(
|
|
|
|
data-holder
|
|
|
|
fields='user, project'
|
|
|
|
range-user=`${endpoints.users}`
|
|
|
|
value-project='${src}'
|
|
|
|
widget-project='sib-form-hidden'
|
|
|
|
naked
|
|
|
|
)
|
|
|
|
|
2019-12-09 17:23:47 +00:00
|
|
|
h1 New project
|
|
|
|
|
|
|
|
p.center Here you can create a new project according to your interests, what you want to share, etc.
|
|
|
|
|
|
|
|
sib-form.block(
|
|
|
|
data-src=`${endpoints.projects}`
|
|
|
|
|
2019-12-12 13:34:09 +00:00
|
|
|
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), line-11(members)'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.name='Customer\'s name*'
|
|
|
|
|
|
|
|
label-name='Project\'s name*'
|
|
|
|
|
|
|
|
label-customer.logo='Customer\'s logo'
|
|
|
|
|
|
|
|
label-description='Project description'
|
|
|
|
widget-description='sib-form-textarea'
|
|
|
|
|
|
|
|
label-businessProvider.name='Business provider*'
|
|
|
|
|
|
|
|
label-businessProvider.fee='Amount of the contribution'
|
|
|
|
|
|
|
|
label-customer.companyregister='Company register'
|
|
|
|
|
|
|
|
label-customer.address='Address'
|
|
|
|
widget-customer.address='sib-form-textarea'
|
|
|
|
|
|
|
|
label-customer.firstName='Name of the contact'
|
|
|
|
|
|
|
|
label-customer.lastName='Firstname of the contact'
|
|
|
|
|
|
|
|
label-customer.role='Role within the company'
|
|
|
|
|
|
|
|
label-customer.email='Email'
|
|
|
|
|
|
|
|
label-customer.phone='Phone'
|
|
|
|
|
|
|
|
range-captain=`${endpoints.users}`
|
|
|
|
|
2019-12-12 13:34:09 +00:00
|
|
|
widget-members='admin-project-add-user'
|
|
|
|
action-members='members'
|
|
|
|
multiple-members
|
|
|
|
|
2019-12-09 17:23:47 +00:00
|
|
|
next='admin-project-list'
|
|
|
|
|
|
|
|
submit-button='Save'
|
|
|
|
)
|