aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/flash_messages.html
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/templates/flash_messages.html')
-rw-r--r--qc_app/templates/flash_messages.html25
1 files changed, 0 insertions, 25 deletions
diff --git a/qc_app/templates/flash_messages.html b/qc_app/templates/flash_messages.html
deleted file mode 100644
index b7af178..0000000
--- a/qc_app/templates/flash_messages.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{%macro flash_all_messages()%}
-{%with messages = get_flashed_messages(with_categories=true)%}
-{%if messages:%}
-<ul>
- {%for category, message in messages:%}
- <li class="{{category}}">{{message}}</li>
- {%endfor%}
-</ul>
-{%endif%}
-{%endwith%}
-{%endmacro%}
-
-{%macro flash_messages(filter_class)%}
-{%with messages = get_flashed_messages(with_categories=true)%}
-{%if messages:%}
-<ul>
- {%for category, message in messages:%}
- {%if filter_class in category%}
- <li class="{{category}}">{{message}}</li>
- {%endif%}
- {%endfor%}
-</ul>
-{%endif%}
-{%endwith%}
-{%endmacro%}