show alert messages in admin view
This commit is contained in:
		@@ -4,6 +4,10 @@
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="max-w-screen-lg w-full">
 | 
			
		||||
  {% if flash %}
 | 
			
		||||
    {{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
 | 
			
		||||
  {% endif %}
 | 
			
		||||
 | 
			
		||||
  <h1 class="h1">Users</h1>
 | 
			
		||||
 | 
			
		||||
<form action="/admin/user/new" method="post" class="mt-4 bg-primary-900 rounded-md text-white px-3 pb-3 pt-2 sm:flex items-end justify-between">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user