Skip to content
Snippets Groups Projects
Commit 2b554cba authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Merge branch 'feature/entrepreneur-dashboard' into 'master'

feature: Resource request creation in entrepreneur dashboard.

See merge request startinblox/applications/coop-starter/coopstarter-front!23
parents b88e4936 ab8e97cb
No related branches found
No related tags found
1 merge request!23feature: Resource request creation in entrepreneur dashboard.
......@@ -26,9 +26,15 @@ section#home
sib-router
sib-route(name='entrepreneur-request-create')
sib-route(name='entrepreneur-request-validation')
dialog#entrepreneur-request-create.no-sidebar.container
include ./requests/create.pug
dialog#entrepreneur-request-validation.no-sidebar.container
p You request has been submitted
p.flex
sib-link(next='entrepreneur-resource-list', class='button_base') Ok
#entrepreneur-account(hidden)
h2 account
p That's work
h2 Request a ressource
p You can't find a resource you are looking for ? You need resources to acquire certain skills or progress in your cooperative developement ? It can be a book, a document model, a tutorial, anything you need, make a request to our mentors so they know how to help you.
sib-form#resource-creation-form(
data-src=`${endpoints.requests}`
fields="mandatory_information(header_mandatory, name, description, country, language),\
complementary_information(header_complementary, field, organisation, skills)"
widget-header_mandatory='cs-section_header'
widget-header_complementary='cs-section_header'
range-language=`${endpoints.languages}`
range-field=`${endpoints.fields}`
range-organisation=`${endpoints.organisations}`
label-header_mandatory='Mandatory information'
label-header_complementary='Complementary information'
label-name='Title*'
label-description='Description'
label-language='Language*'
label-country='Country*'
label-field='Field*'
label-organisation='Organisation'
label-skills='What do you need to learn with this resource ?'
multiple-field='sib-multiple-select'
widget-field='sib-form-auto-completion'
multiple-language='sib-multiple-select'
widget-language='sib-form-auto-completion'
widget-description='sib-form-textarea'
widget-skills='sib-form-textarea'
widget-organisation='sib-form-auto-completion'
submit-button='Send request'
next="entrepreneur-request-validation"
)
sib-link(class="backlink", next="entrepreneur-resource-list") Back to the dashboard
sib-link(class="backlink", next="entrepreneur-resource-list") Back to the dashboard
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment