{% extends "base.html" %} {% block title %}{{ 'Nieuwe school' if nieuw else school.naam }}{% endblock %} {% block page_title %}{{ 'Nieuwe school' if nieuw else 'Instellingen school' }}{% endblock %} {% block extra_css %} {% endblock %} {# Ingevulde waarde; is er nog niets ingevuld, dan staat de standaardwaarde al klaar in het veld. #} {% macro waarde(key, standaard='') -%} {%- if form.get('v_' ~ key) is not none -%}{{ form.get('v_' ~ key) }} {%- elif school and school.waarden.get(key) not in (none, '') -%}{{ school.waarden.get(key) }} {%- else -%}{{ standaard }}{%- endif -%} {%- endmacro %} {% block content %}
{% if not nieuw %} {% if mag_alles %} {% endif %} {% endif %} {% endblock %}