From 852b4d626cddac12fa8097be6bcff183f228bf52 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 18 May 2017 23:26:05 +0200 Subject: okpush --- lib/okpush/templates/partials/flash.liquid | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/okpush/templates/partials/flash.liquid (limited to 'lib/okpush/templates/partials/flash.liquid') diff --git a/lib/okpush/templates/partials/flash.liquid b/lib/okpush/templates/partials/flash.liquid new file mode 100644 index 0000000..e51a86b --- /dev/null +++ b/lib/okpush/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