add original-filename tag

This commit is contained in:
Christophe Robillard 2024-03-19 11:03:29 +01:00 committed by simon lehericey
parent 8e8057ddd3
commit aeb4bd2ff1
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
3 changed files with 40 additions and 16 deletions

View file

@ -45,7 +45,7 @@
= label_tag pj.libelle, nil, name: field_name(:export_template, "tiptap_pj_#{pj.stable_id}"), class: "fr-label"
.tiptap-editor.fr-mt-1w{ data: { tiptap_target: 'editor' } }
= hidden_field_tag field_name(:export_template, "tiptap_pj_#{pj.stable_id}"), "#{@export_template.content_for_pj(pj)}" , data: { tiptap_target: 'input', controller: 'turbo-input', turbo_input_url_value: preview_instructeur_export_templates_path }
.fr-mt-2w= render TagsButtonListComponent.new(tags: { nil => @export_template.specific_tags })
.fr-mt-2w= render TagsButtonListComponent.new(tags: { nil => @export_template.tags_for_pj })
.fixed-footer
.fr-container