div.content-box__info.flex
  solid-link(class='backlink right', next='admin-users-list') Retour

  h1.centered Ajouter un utilisateur à la plateforme

  div#loader-users-create.loader.loader-top
    div
    div
    div
    div

  solid-form.form.button-register(
    data-src=`${endpoints.users || endpoints.post.users}`

    fields='line-1(first_name, last_name), line-2(username, email), line-3(password)'
    loader-id='loader-users-create'

    class-first_name='form-label is-light is-half-width input-text-like'
    class-last_name='form-label is-light is-half-width input-text-like'
    class-username='form-label is-light is-half-width input-text-like'
    class-email='form-label is-light is-half-width input-text-like'

    label-first_name='Prénom *'
    label-last_name='Nom *'
    label-username='Nom d\'utilisateur *'
    label-email='E-mail *'

    value-password=''
    widget-password='solid-form-hidden'

    next='admin-users-list'

    submit-button='Enregistrer'
  )
