summaryrefslogtreecommitdiff
path: root/themes/okcards/templates/partials/flash.liquid
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-09-08 19:59:41 -0400
committerJules Laplace <jules@okfoc.us>2016-09-08 19:59:41 -0400
commit50fac2191fbf0dd101d6071242c03dfad295b3ed (patch)
tree2624310093338b64faf8e9e946d11be21afd5a63 /themes/okcards/templates/partials/flash.liquid
parentb938e3d1d2d108b887c9624249ee7021cfd83a1f (diff)
makin okcms okadminview frontend lib workv0.1.41
Diffstat (limited to 'themes/okcards/templates/partials/flash.liquid')
-rw-r--r--themes/okcards/templates/partials/flash.liquid20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/okcards/templates/partials/flash.liquid b/themes/okcards/templates/partials/flash.liquid
new file mode 100644
index 0000000..e51a86b
--- /dev/null
+++ b/themes/okcards/templates/partials/flash.liquid
@@ -0,0 +1,20 @@
+{% if success.length > 0 %}
+<div class="success">
+ <div class="message">Changes saved.</div>
+ <!--
+ {% for info in success %}
+ <div class="message">{{info.action}}</div>
+ {% endfor %}
+ -->
+</div>
+{% endif %}
+
+{% if errors.length > 0 %}
+<div class="errors">
+ {% for error in errors %}
+ <div class="error">
+ <div class="message">{{error.message}}</div>
+ </div>
+ {% endfor %}
+</div>
+{% endif %} \ No newline at end of file