Final minor pass of a full registration form on the website

This commit is contained in:
Tom Bloor 2017-04-09 14:17:12 +01:00
parent 704f429fa5
commit 1bb483bb5a
4 changed files with 108 additions and 20 deletions

View file

@ -22,7 +22,16 @@ body {
% end
% content_for javascript => begin
% end
<div class="container-fluid">
<div class="container">
% if ( my $error = flash 'error' ) {
<div class="alert alert-danger" role="alert">
<strong>Error!</strong> <%= $error %>
</div>
% } elsif ( my $success = flash 'success' ) {
<div class="alert alert-success" role="alert">
<strong>Success!</strong> <%= $success %>
</div>
% }
<div class="row justify-content-center">
<!-- Fluid Gird, this login box stay in the middle of screen -->
<div class="col-5">