Skip to content
Snippets Groups Projects
create.pug 2.29 KiB
Newer Older
.block_log.block_creat_count.no_shadow
        sib-link(class="backlink", next="entrepreneur-resource-list")
                .like
                        p.backlink 
                                i.fas.fa-times
        div#resource-creation-form-loader
                hidden
                        i.fas.fa-spinner.fa-spin
        h2.title_form=`${data.RequestRessource}`
        p.p_entete=`${data.RequestRessourceInfo}`
Benoit Alessandroni's avatar
Benoit Alessandroni committed
        img(src="../images/asid_entre.png" alt="Rechercher des ressources")

        sib-form#resource-creation-form(
                loader-id="resource-creation-form-loader"
                data-src=`${endpoints.requests}`
                fields="mandatory_information(header_mandatory, name, description, country, language),\
                        complementary_information(header_complementary, fields, organisation, skills)"
                
                widget-header_mandatory='cs-section_header'
                widget-header_complementary='cs-section_header'

                range-language=`${endpoints.languages}`
                range-fields=`${endpoints.fields}`
                range-organisation=`${endpoints.organisations}`
                range-country=`${endpoints.countries}`
                label-header_mandatory=`${data.MandatoryInformation}`
                label-header_complementary=`${data.ComplementaryInformation}`
                label-name=`${data.TitleRequired}`
                label-description=`${data.Description}`
                label-language=`${data.Language}`
                label-country=`${data.Country}`
Alice Poggioli's avatar
Alice Poggioli committed
                label-fields=`${data.FieldRequired}`
                label-organisation=`${data.Organisation}`
                label-skills=`${data.SkillToLearn}`
                
                multiple-fields='sib-multiple-select'
                widget-fields='sib-form-auto-completion'
                widget-country='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=`${data.SendRequest}`
                next="entrepreneur-request-validation"
        )