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> <tr>
<td><%= user.name %></td> <td><%= user.name %></td>
<td><%= user.email %></td> <td><%= user.email %></td>
<td class="text-right"> <td>
<% if user.moderator? && user.moderator.persisted? %> <% if user.moderator? && user.moderator.persisted? %>
<%= link_to t('admin.moderators.moderator.delete'), <%= link_to t('admin.moderators.moderator.delete'),
admin_moderator_path(user), admin_moderator_path(user),
method: :delete, method: :delete,
class: "button hollow alert" %> class: "button hollow alert expanded" %>
<% else %> <% else %>
<%= link_to t('admin.moderators.moderator.add'), <%= link_to t('admin.moderators.moderator.add'),
{ controller: "admin/moderators", { controller: "admin/moderators",
action: :create, action: :create,
user_id: user }, user_id: user },
method: :post, method: :post,
class: "button success" %> class: "button success expanded" %>
<% end %> <% end %>
</td> </td>
</tr> </tr>