Add path field to procedure information form

This commit is contained in:
Paul Chavard 2018-09-19 17:12:12 +02:00
parent f6a6d8f457
commit f94a24d7ce
12 changed files with 176 additions and 32 deletions

View file

@ -21,7 +21,7 @@
%h4 Lien de la démarche
%p.center
= commencer_url(procedure_path: '')
= text_field_tag('procedure_path', @procedure.default_path,
= text_field_tag('procedure_path', @procedure.path || @procedure.default_path,
id: 'procedure_path',
placeholder: 'Chemin vers la démarche',
data: { autocomplete: 'path' },