demarches-normaliennes/app/views/users/dossiers/show/_print_dossier.html.haml

7 lines
516 B
Text
Raw Normal View History

2023-01-24 16:31:46 +01:00
.dropdown.print-menu-opener{ data: { controller: 'menu-button' } }
%button.button.dropdown-button.icon-only{ title: t('views.users.dossiers.show.header.print'), 'aria-label': 'imprimer', data: { menu_button_target: 'button' } }
2022-03-22 15:00:26 +01:00
%span.icon.printer
%ul#print-menu.print-menu.dropdown-content{ data: { menu_button_target: 'menu' } }
2022-03-22 15:00:26 +01:00
%li
= link_to t('views.users.dossiers.show.header.print_dossier'), dossier_path(dossier, format: :pdf), target: "_blank", rel: "noopener", class: "menu-item menu-link"