From c53181843530d91a3871fe7ed902121fb8e5fb9a Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 25 Oct 2017 18:52:35 +0200 Subject: [PATCH] add missing class for buttons --- app/views/admin/moderators/search.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/moderators/search.html.erb b/app/views/admin/moderators/search.html.erb index a7ad117f9..7fc479b8a 100644 --- a/app/views/admin/moderators/search.html.erb +++ b/app/views/admin/moderators/search.html.erb @@ -17,19 +17,19 @@ <%= user.name %> <%= user.email %> - + <% if user.moderator? && user.moderator.persisted? %> <%= link_to t('admin.moderators.moderator.delete'), admin_moderator_path(user), method: :delete, - class: "button hollow alert" %> + class: "button hollow alert expanded" %> <% else %> <%= link_to t('admin.moderators.moderator.add'), { controller: "admin/moderators", action: :create, user_id: user }, method: :post, - class: "button success" %> + class: "button success expanded" %> <% end %>