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