hubl/src/page-admin-projects-create.pug

47 lines
1.3 KiB
Plaintext

div.content-box__info
sib-link(class="backlink" next='admin-project-list') Back
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}`
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)'
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}`
next='admin-project-list'
submit-button='Save'
)