Add GovernmentPlanSection

This commit is contained in:
Stefan Wehrmeyer 2022-03-14 11:47:48 +01:00
parent 9f983a1723
commit 947426a3b3
7 changed files with 214 additions and 10 deletions

View file

@ -0,0 +1,29 @@
{% extends CMS_TEMPLATE %}
{% load i18n %}
{% load markup %}
{% load cms_tags %}
{% load follow_tags %}
{% block title %}{{ object.title }}{% endblock %}
{% block app_body %}
<div class="container mt-3 mb-5">
<div class="jumbotron">
<small class="badge badge-light">{{ object.government.name }}</small>
<h1 class="display-4 mt-0">
{{ object.title }}
</h1>
</div>
{% if object.image %}
{# this should not be a dependency! #}
{% include "fds_blog/includes/_picture.html" with picture=object.image %}
{% endif %}
{% render_placeholder object.content_placeholder %}
</div>
{% endblock %}