From c47a7dcdca1496fea00b5d1f896fc826167f2d86 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 1 Jan 2025 18:23:59 +0100 Subject: Updated admin dashboard. --- app/views/admin/dashboard/index.html.erb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'app/views/admin/dashboard/index.html.erb') diff --git a/app/views/admin/dashboard/index.html.erb b/app/views/admin/dashboard/index.html.erb index b3dc2e9..169813c 100644 --- a/app/views/admin/dashboard/index.html.erb +++ b/app/views/admin/dashboard/index.html.erb @@ -1,13 +1,9 @@

Administrateur

-

- <%= button_to "Déconnexion", - session_path(session), - method: :delete %> -

+

<%= button_to "Déconnexion", session_path(session), method: :delete %>

Tartiflettes

-<%= render "scores_by_category" %> -

<%= link_to "Télécharger tous les scores en format CSV", admin_scores_export_path %>

+ +<%= render "scores_by_category" %> -- cgit v1.2.3