demarches-normaliennes/app/views/admin
Nicolas Bouilleaud 43f936ec77 Do not check for path availability when in the “new procedure” form
The user can’t even enter the path here, it’s nil.

fixes #3918

The @availability was always PATH_NOT_AVAILABLE when the form was reloaded after an error, because Procedure::path_availability always found an (archived) procedure with a nil path. It got confused and concluded its path was conflicting.

🤷🏻‍♂️
2019-06-18 14:31:12 +02:00
..
attestation_templates [Fix #1140] Let's close this stupid issue already 2019-02-18 14:16:06 +01:00
gestionnaires Procédure → Démarche 2018-09-05 15:46:24 +02:00
instructeurs [Fix #2575] Créer automatiquement un compte instructeur aux administrateurs 2018-12-26 09:44:20 -10:00
mail_templates [Fix #3064] Add a preview button for state notifications emails 2019-04-11 11:03:13 +02:00
pieces_justificatives Enable new champs editor for all 2019-05-14 16:18:29 +02:00
procedures Do not check for path availability when in the “new procedure” form 2019-06-18 14:31:12 +02:00
_closed_mail_template_attestation_inconsistency_alert.html.haml Procédure → Démarche 2018-09-05 15:46:24 +02:00