demarches-normaliennes/app/views/recoveries/support.html.haml
2024-03-15 14:35:14 +01:00

36 lines
1.4 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- content_for(:title) { "Contactez le support" }
.fr-container.fr-my-6w
%h1.fr-h1 Récupération de dossiers
- case params[:error]
- when 'other_nature', 'not_collectivite_territoriale'
%p Votre situation nécessite un traitement particulier.
= mail_to(CONTACT_EMAIL,
'Contactez le support',
subject: 'Récupération de dossiers',
class: 'fr-btn')
- when 'must_use_agent_connect'
%p Vous devez utiliser le portail AgentConnect pour récupérer vos dossiers.
= link_to(agent_connect_login_path, class: "fr-btn fr-connect") do
%span.fr-connect__login
= t('signin_with', scope: [:agent_connect, :agent, :index])
%span.fr-connect__brand AgentConnect
%p Vous n'avez pas encore de compte AgentConnect ? Vous pouvez en créer un en utilisant MonComptePro.
= link_to 'MonComptePro', 'https://moncomptepro.beta.gouv.fr', class: 'fr-btn'
- when 'no_dossier'
%p Lʼadresse email « #{cookies[:retrieve_email]} » que vous avez renseignée nʼa pas de dossier concernant votre organisation.
%ul.fr-btns-group.fr-btns-group--inline
%li
= link_to 'Essayer avec une autre adresse email', identification_recovery_path, class: 'fr-btn'
%li
= mail_to(CONTACT_EMAIL,
'Contactez le support',
subject: 'Récupération de dossiers',
class: 'fr-btn fr-btn--secondary')