diff --git a/app/assets/stylesheets/groupe_instructeur.scss b/app/assets/stylesheets/groupe_instructeur.scss index 419bf075f..a40243cd5 100644 --- a/app/assets/stylesheets/groupe_instructeur.scss +++ b/app/assets/stylesheets/groupe_instructeur.scss @@ -1,6 +1,11 @@ .groupe-instructeur { - .actions { - width: 200px; + .setup { text-align: center; + width: 100px; + } + + .actions { + text-align: center; + width: 250px; } } diff --git a/app/views/administrateurs/groupe_instructeurs/_edit.html.haml b/app/views/administrateurs/groupe_instructeurs/_edit.html.haml index 9740a2b5a..320a51fb2 100644 --- a/app/views/administrateurs/groupe_instructeurs/_edit.html.haml +++ b/app/views/administrateurs/groupe_instructeurs/_edit.html.haml @@ -46,13 +46,13 @@ %tr // i18n-tasks-use t('.existing_groupe') %th{ colspan: 2 }= t(".existing_groupe", count: groupes_instructeurs.total_count) - %th + %th.actions = link_to "Exporter au format CSV", export_groupe_instructeurs_admin_procedure_groupe_instructeurs_path(procedure, format: :csv) %tbody - groupes_instructeurs.each do |group| %tr %td= group.label - %td.actions= link_to t('.set_up'), admin_procedure_groupe_instructeur_path(procedure, group) + %td.setup= link_to t('.set_up'), admin_procedure_groupe_instructeur_path(procedure, group) - if group.can_delete? %td.actions = link_to admin_procedure_groupe_instructeur_path(procedure, group), { method: :delete, class: 'button', data: { confirm: t('.group_management.delete_confirmation', group_name: group.label) }} do