Skip to content
Snippets Groups Projects
Verified Commit a58297e0 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Use block content in templates

parent 5dcfab2b
No related branches found
No related tags found
1 merge request!6Add ckeditor in FAQ questions admin interface
{% load widget_tweaks i18n %}
{% include 'partials/header.html' %}
<main>
{% block content %}
<h4 class="h-with-subtitle">{% blocktrans %}You have a question?{% endblocktrans %}</h4>
<p class="flow-text">
{% blocktrans %}
......@@ -23,5 +23,4 @@
</button>
</form>
</main>
{% include 'partials/footer.html' %}
{% endblock %}
{% load i18n %}
{% include 'partials/header.html' %}
<main>
{% block content %}
<h3>FAQ (Frequently Asked Questions)</h3>
{% for section in sections %}
<section>
......@@ -65,5 +66,4 @@
{% endif %}
</p>
</main>
{% include 'partials/footer.html' %}
{% endblock %}
{% include 'partials/header.html' %}
{% load material_form i18n %}
<main>
{% block content %}
<p class="flow-text">
{% blocktrans %}
......@@ -102,5 +101,4 @@
</form>
</main>
{% include 'partials/footer.html' %}
{% endblock %}
{% include 'partials/header.html' %}
{% load i18n %}
<main>
{% block content %}
<p class="flow-text">
{% blocktrans %}
Thank you for your feedback. It was successfully submitted.
......@@ -14,6 +13,4 @@
{% blocktrans %}
Back to landing page</a>
{% endblocktrans %}
</main>
{% include 'partials/footer.html' %}
{% endblock %}
{% include 'partials/header.html' %}
{% load i18n %}
<main>
{% block content %}
<p class="flow-text">
<i class="material-icons">done_all</i>
......@@ -23,6 +23,4 @@
{% endblocktrans %}
</a>
</main>
{% include 'partials/footer.html' %}
{% endblock %}
{% include 'partials/header.html' %}
{% load material_form static i18n %}
<main>
{% block content %}
<h5>{% blocktrans %}Report a bug – REBUS – REport-A-Bug-System{% endblocktrans %}</h5>
<form method="post" id="rebus-form">
......@@ -64,5 +63,4 @@
{% include "components/react.html" %}
<script src="{% static "js/rebus.js" %}"></script>
</main>
{% include 'partials/footer.html' %}
{% endblock %}
{% include 'partials/header.html' %}
<main>
{% load i18n %}
{% block content %}
<p class="flow-text">
<i class="material-icons left">check</i>
{% blocktrans %}
......@@ -15,7 +13,4 @@
Back to home
{% endblocktrans %}
</a>
</main>
{% include 'partials/footer.html' %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment