<% if (locals.messages.error) { %>
		<% messages.error.forEach(message => { %>
			<div class="alert alert-danger alert-dismissible fade show mb-0" role="alert">
				<%= message %>
				<button type="button" class="close" data-dismiss="alert" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</div>
		<% }) %>
<% } %>
<% if (locals.messages.warning) { %>
		<% messages.warning.forEach(message => { %>
			<div class="alert alert-warning alert-dismissible fade show mb-0" role="alert">
				<%= message %>
				<button type="button" class="close" data-dismiss="alert" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</div>
		<% }) %>
<% } %>
<% if (locals.messages.success) { %>
		<% messages.success.forEach(message => { %>
			<div class="alert alert-success alert-dismissible fade show mb-0" role="alert">
				<%= message %>
				<button type="button" class="close" data-dismiss="alert" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</div>
		<% }) %>
<% } %>
<% if (locals.messages.info) { %>
		<% messages.info.forEach(message => { %>
			<div class="alert alert-info alert-dismissible fade show mb-0" role="alert">
				<%= message %>
				<button type="button" class="close" data-dismiss="alert" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</div>
		<% }) %>
<% } %>