fix: target user container on menu bar

This commit is contained in:
Jean-Baptiste Pasquier
2019-12-12 14:34:09 +01:00
parent 13b24a2ee2
commit 752acbecae
3 changed files with 31 additions and 24 deletions

View File

@ -1,6 +1,17 @@
div.content-box__info
sib-link(class="backlink" next='admin-project-list') Back
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
)
h1 New project
p.center Here you can create a new project according to your interests, what you want to share, etc.
@ -8,7 +19,7 @@ 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), 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)'
label-customer.name='Customer\'s name*'
@ -40,6 +51,10 @@ div.content-box__info
range-captain=`${endpoints.users}`
widget-members='admin-project-add-user'
action-members='members'
multiple-members
next='admin-project-list'
submit-button='Save'