43f936ec77
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. 🤷🏻♂️
9 lines
389 B
Text
9 lines
389 B
Text
.row.white-back
|
|
%h2
|
|
= t('dynamics.admin.dossiers.tableau_de_bord.nouvelle_procedure')
|
|
|
|
#procedure_new.section.section-label
|
|
= form_for @procedure, url: { controller: 'admin/procedures', action: :create }, multipart: true do |f|
|
|
= render partial: 'informations', locals: { f: f }
|
|
.text-right
|
|
= f.button 'Valider', class: 'btn btn-info', id: 'save-procedure'
|