summaryrefslogtreecommitdiff
path: root/themes/test/templates/partials/flash.liquid
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-09-29 12:13:19 -0400
committerJules Laplace <jules@okfoc.us>2016-09-29 12:13:19 -0400
commitd4f9c31a1721fdea6b92ae90ca5c4bd8635fd0cb (patch)
tree4c8c73d15c77f4d79313ecb45fc650d43f65235f /themes/test/templates/partials/flash.liquid
parent50fac2191fbf0dd101d6071242c03dfad295b3ed (diff)
v0.2.0 - new admin theme
Diffstat (limited to 'themes/test/templates/partials/flash.liquid')
-rw-r--r--themes/test/templates/partials/flash.liquid20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/test/templates/partials/flash.liquid b/themes/test/templates/partials/flash.liquid
new file mode 100644
index 0000000..e51a86b
--- /dev/null
+++ b/themes/test/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