Formatting
This commit is contained in:
parent
2753388e1e
commit
9a1f9abf84
@ -53,14 +53,15 @@
|
|||||||
custom_class: "text-green-600 hover:text-green-500 -mt-2 -mb-1 h-6 w-6 inline-block"
|
custom_class: "text-green-600 hover:text-green-500 -mt-2 -mb-1 h-6 w-6 inline-block"
|
||||||
} %>
|
} %>
|
||||||
</button>
|
</button>
|
||||||
<% if @user.invitations.unused.count > 0 %>
|
<% if @user.invitations.unused.count > 0 %>
|
||||||
<%= link_to invitations_admin_user_path(@user.cn), data: {
|
<%= link_to invitations_admin_user_path(@user.cn),
|
||||||
turbo_method: :delete,
|
id: "remove-invitations", data: {
|
||||||
turbo_confirm: "Delete all of #{@user.cn}'s available invitations?"
|
turbo_method: :delete,
|
||||||
} do %>
|
turbo_confirm: "Delete all of #{@user.cn}'s available invitations?"
|
||||||
<%= render partial: "icons/x-circle", locals: {
|
} do %>
|
||||||
custom_class: "text-red-600 hover:text-red-500 -mt-2 -mb-1 h-6 w-6 inline-block"
|
<%= render partial: "icons/x-circle", locals: {
|
||||||
} %>
|
custom_class: "text-red-600 hover:text-red-500 -mt-2 -mb-1 h-6 w-6 inline-block"
|
||||||
|
} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user