summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/alert.hamlet9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/alert.hamlet b/templates/alert.hamlet
new file mode 100644
index 000000000..2d0daf841
--- /dev/null
+++ b/templates/alert.hamlet
@@ -0,0 +1,9 @@
+<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid}>
+ $if closable
+ <a .close data-dismiss="alert" href="#">&times;</a>
+ $maybe h <- heading
+ $if block
+ <h4 class="alert-heading">#{h}</h4>
+ $else
+ <strong>#{h}</strong>
+ ^{widget}