include ../../components/widgets

figure.logo
    img(src="../images/logo.png" 
        alt="Coopstarter")

figure.logo.img_log
    img(src="../images/fusee.png" 
        alt="Create an entrepreneur account")

h2.title_create=`${data.CompleteEntrepreneurAccount}`

sib-form#entrepreneur_profile_creation.block_log.block_creat_count(
    bind-user
    fields="last_name, first_name, entrepreneur_profile.organisation, account.picture, username"
    
    range-entrepreneur_profile.organisation=`${endpoints.organisations}`

    label-first_name=`${data.Surname}`
    label-last_name=`${data.Name}`
    label-entrepreneur_profile.organisation=`${data.Organisation}`
    
    class-entrepreneur_profile.organisation='form-label is-dark'
    widget-entrepreneur_profile.organisation='sib-form-auto-completion'

    widget-username='sib-form-hidden'

    upload-url-account.picture=`${sdn}upload/`
    widget-account.picture='cs-form-file-custom'
    class-account.picture='input_photo w_25'
    
    submit-button=`${data.CompleteYourAccount}`
    next="entrepreneur-dashboard"
)