include ../../components/widgets

h2.title_create Edit your account

sib-form#mentor_profile_edition.block_log.block_creat_count(
    bind-user
    fields="account_information(last_name, first_name, mentor_profile.organisation,\
            mentor_profile.phone, mentor_profile.languages, mentor_profile.fields),\
            about_you(header_about_you, account.picture, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\
            mentor_profile.biography, mentor_profile.skills),\
            social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter), username"
    
    range-mentor_profile.fields=`${endpoints.fields}`
    range-mentor_profile.organisation=`${endpoints.organisations}`
    range-mentor_profile.languages=`${endpoints.languages}`

    label-header_about_you="About you"
    label-header_social_media="Social medias"
    
    widget-header_social_media="cs-section_header"
    widget-header_about_you="cs-section_introduction"
    
    label-first_name="Surname"
    label-last_name="Name"
    label-mentor_profile.organisation="Organisation"
    label-mentor_profile.phone="Phone number"
    label-mentor_profile.languages="Languages"
    label-mentor_profile.fields="Fields"
    label-account.picture="Photo"
    label-mentor_profile.headline="Headline or current position"
    class-mentor_profile.headline="w_75"
    label-mentor_profile.city="City"
    label-mentor_profile.country="Country"
    label-mentor_profile.biography="Tell us more about your activities"
    label-mentor_profile.skills="What skills can you share with our entrepreneurs ?"
    label-mentor_profile.linkedin="Linkedin"
    label-mentor_profile.twitter="Twitter"

    widget-mentor_profile.skills="sib-form-textarea"
    widget-mentor_profile.biography="sib-form-textarea"
    widget-username="sib-form-hidden"

    class-mentor_profile.organisation='form-label is-dark'
    widget-mentor_profile.organisation='sib-form-auto-completion'

    class-mentor_profile.languages='form-label is-dark'
    multiple-mentor_profile.languages='sib-multiple-select'
    widget-mentor_profile.languages='sib-form-auto-completion'

    class-mentor_profile.fields='form-label is-dark'
    multiple-mentor_profile.fields='sib-multiple-select'
    widget-mentor_profile.fields='sib-form-auto-completion'

    upload-url-account.picture=`${sdn}upload/`
    widget-account.picture='sib-form-file'
    class-account.picture='input_photo w_25'
    class-headline='w_75'

    submit-button="Save modifications"
    next="mentor-account-edit-confirmation"
)

sib-link(class="backlink", next="mentor-account") Back to my account
sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard