more changes

This commit is contained in:
root 2017-12-22 20:08:54 +00:00
parent 1b916114de
commit 5b9d746ed7
3 changed files with 9 additions and 2 deletions

View File

@ -1,12 +1,16 @@
{% if content.optbtn2 and content.opttext2 %}
{% if content.opttext2 %}
<div class="part2">
{% if content.optbtn2 %}
<h4>{{ content.optbtn2|safe }} </h4>
{% endif %}
<p>{{ content.opttext2|safe|linebreaks }}</p>
</div>
{% endif %}
{% if content.optbtn3 and content.opttext3 %}
{% if content.opttext3 %}
<div class="part3">
{% if content.optbtn3 %}
<h4>{{ content.optbtn3|safe }} </h4>
{% endif %}
<p>{{ content.opttext3|safe|linebreaks }}</p>
</div>
{% endif %}

View File

@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% block content %}
{% include "edit.html" with content=content %}
<div class="large-8 medium-8 columns special-column">
<div class="index-text">
<h4>{{content.title}}</h4>
@ -12,6 +13,7 @@
<p>
{{content.formatted_body|safe}}
</p>
{% include "opt.html" with content=content %}
</div>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% block content %}
{% include "edit.html" with content=texts %}
<div class="large-8 medium-8 columns special-column">
{% if texts.image %}