From 50fac2191fbf0dd101d6071242c03dfad295b3ed Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 8 Sep 2016 19:59:41 -0400 Subject: makin okcms okadminview frontend lib work --- themes/okcards/templates/partials/flash.liquid | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 themes/okcards/templates/partials/flash.liquid (limited to 'themes/okcards/templates/partials/flash.liquid') 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 %} +
+
Changes saved.
+ +
+{% endif %} + +{% if errors.length > 0 %} +
+ {% for error in errors %} +
+
{{error.message}}
+
+ {% endfor %} +
+{% endif %} \ No newline at end of file -- cgit v1.2.3-70-g09d2