add missing class for buttons

This commit is contained in:
decabeza
2017-10-25 18:52:35 +02:00
parent 4b7a0358e5
commit c531818435

View File

@@ -17,19 +17,19 @@
<tr>
<td><%= user.name %></td>
<td><%= user.email %></td>
<td class="text-right">
<td>
<% 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 %>
</td>
</tr>