faqs
This commit is contained in:
parent
8003fea93e
commit
80195fb2b2
|
@ -216,7 +216,10 @@ def bpguideline(request, guideline_id):
|
||||||
return render_to_response("bpguideline.html", guideline_dict)
|
return render_to_response("bpguideline.html", guideline_dict)
|
||||||
|
|
||||||
def bpfaq(request):
|
def bpfaq(request):
|
||||||
return render_to_response("bpfaq.html")
|
faqs = BestPracticeFAQ.objects.all()
|
||||||
|
return render_to_response("bpfaq.html", {
|
||||||
|
'faqs': faqs
|
||||||
|
})
|
||||||
|
|
||||||
def bpdownload(request):
|
def bpdownload(request):
|
||||||
return render_to_response("bpdownload.html")
|
return render_to_response("bpdownload.html")
|
||||||
|
|
|
@ -15,7 +15,18 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block bpContent %}
|
{% block bpContent %}
|
||||||
|
<style type="text/css">
|
||||||
|
.faqItem {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<div class="bpContent">
|
<div class="bpContent">
|
||||||
Coming soon...
|
{% for f in faqs %}
|
||||||
|
<div class="faqItem">
|
||||||
|
<p class="question"><b>{{ f.question }}</b></p>
|
||||||
|
<p class="answer">{{ f.answer }}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user