add missing class for buttons
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user