summaryrefslogtreecommitdiff
path: root/views/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/login.html')
-rw-r--r--views/login.html23
1 files changed, 3 insertions, 20 deletions
diff --git a/views/login.html b/views/login.html
index d7a3865..ee22eca 100644
--- a/views/login.html
+++ b/views/login.html
@@ -1,25 +1,8 @@
{{template "header.html"}}
{{template "navbar.html"}}
-<div class="container">
- <div class="row">
-{{range .Error}}
-<h4 class="col-md-4 col-md-offset-4 alert alert-danger alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
- {{.}}
-</h4>
-{{end}}
-{{range .Success}}
-<h4 class="col-md-4 col-md-offset-4 alert alert-success alert-dismissible" role="alert">
- <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
- {{.}}
-</h4>
-{{end}}
- </div>
-</div>
-<div class="container">
- <div class="row">
- </div>
-</div>
+{{template "alert.html" .}}
+
+
<div class="container">
<div class="row">
<form class="form-horizontal" method='post' action='/login'>