forked from shibao/cannery
fixup! add invite model
This commit is contained in:
parent
93235558e2
commit
3eebba17c4
@ -33,6 +33,13 @@
|
||||
to: Routes.ammo_group_index_path(CanneryWeb.Endpoint, :index) %>
|
||||
</li>
|
||||
|
||||
<%= if @current_user.role == :admin do %>
|
||||
<li>
|
||||
<%= link "Invites", class: "hover:underline",
|
||||
to: Routes.invite_index_path(CanneryWeb.Endpoint, :index) %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<%# search %>
|
||||
<form phx-change="suggest" phx-submit="search">
|
||||
<input type="text" name="q" class="input input-primary"
|
||||
|
Loading…
Reference in New Issue
Block a user