fixup! add invite model

This commit is contained in:
shibao 2021-09-10 00:30:33 -04:00 committed by oliviasculley
parent 93235558e2
commit 3eebba17c4

View File

@ -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"