{% extends "base.html" %}
{% block title %}{{ config.APP_NAME }}{% endblock %}
{% set other_props = {
'messages': get_flashed_messages(with_categories=true)
} %}
{% block body %}
{% endblock %}
{% block init_script %}
try {
require(
['security.pages'],
function() {
window.renderSecurityPage('{{page_name}}', {{page_props|tojson|safe}},
{{other_props|tojson|safe}});
}, function() {
console.log(arguments);
}
);
} catch (err) {
console.log(err);
}
{% endblock %}