Fix the messages on login page to be visible

pull/20/head
Facinorous-420 3 years ago
parent f8cc7e7b71
commit eb3105fd0a

@ -7,21 +7,11 @@
<% if(success_alert_message != ''){ %>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<%= success_alert_message %>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<p class="text-color-primary pb-2"><%= success_alert_message %></p>
<% } %>
<% if(error_message != ''){ %>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<%= error_message %>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<p class="text-color-primary pb-2"><%= error_message %></p>
<% } %>
<form class="flex flex-col" method="post" action="/auth/login">

Loading…
Cancel
Save