demarches-normaliennes/app/views/admin/procedures
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
..
_informations.html.haml Add video and webinar URLs to admin pages 2019-05-13 17:47:02 +02:00
_list.html.haml change date format for all, use try_format_date of helper 2019-06-12 17:48:12 +02:00
_modal_publish.html.haml Add video and webinar URLs to admin pages 2019-05-13 17:47:02 +02:00
_modal_transfer.html.haml Procédure → Démarche 2018-09-05 15:46:24 +02:00
_onglets.html.haml Remove feature flag for publish draft 2019-03-12 11:26:07 +01:00
_unavailable.html.haml Wording : Démarche en brouillon => Démarche en test 2019-01-17 14:04:58 +01:00
check_availability.js.erb Clarify procedure path availability code 2018-10-30 15:59:37 +01:00
edit.html.haml [fix #3336] Fix bug in admin procedure description 2019-01-29 13:32:27 +01:00
index.html.haml Procédure → Démarche 2018-09-05 15:46:24 +02:00
index.js.erb Use delegated events instead of local handlers 2018-08-13 08:34:10 +02:00
new.html.haml Do not check for path availability when in the “new procedure” form 2019-06-18 14:31:12 +02:00
new_from_existing.html.haml Add video and webinar URLs to admin pages 2019-05-13 17:47:02 +02:00
publish.js.erb Fix some files according the the .editorconfig rules 2018-09-20 16:23:09 +02:00
show.html.haml [fix #3867] Add legal text 2019-05-20 13:43:46 +02:00
transfer.js.erb Stop using global function 2018-10-05 09:55:13 +02:00