WIP Make dropdowns more configurable, add invitations menu to admin page
This commit is contained in:
@@ -43,7 +43,26 @@
|
||||
<tr>
|
||||
<th>Invitations available</th>
|
||||
<td>
|
||||
<%= @user.invitations.count %>
|
||||
<div class="flex justify-between">
|
||||
<span>
|
||||
<%= @user.invitations.count %>
|
||||
</span>
|
||||
<span>
|
||||
<%= render DropdownComponent.new(size: :small, icon_name: "edit") do %>
|
||||
<%= render DropdownLinkComponent.new(
|
||||
href: ""
|
||||
) do %>
|
||||
Add more
|
||||
<% end %>
|
||||
<%= render DropdownLinkComponent.new(
|
||||
href: "",
|
||||
separator: true, add_class: "text-red-700"
|
||||
) do %>
|
||||
Remove all
|
||||
<% end %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user