Browse Source

add safe filter to alert message in /layouts/default.html template.

stable
Craig Oates 2 years ago
parent
commit
fda81fbb82
  1. 2
      templates/layouts/default.html

2
templates/layouts/default.html

@ -17,7 +17,7 @@
</head> </head>
<body> <body>
<div> <div>
{% if alert %}{{alert}}{% endif %} {% if alert %}{{alert | safe}}{% endif %}
</div> </div>
{% include "/layouts/header.html" %} {% include "/layouts/header.html" %}
{% block content %}{% endblock %} {% block content %}{% endblock %}

Loading…
Cancel
Save