ckeditor added and single bird help
This commit is contained in:
parent
a8196bc5c9
commit
371ecda4cc
7 changed files with 34 additions and 9 deletions
|
@ -4,10 +4,14 @@
|
|||
<div class="row">
|
||||
<div class="col-lg-8 mb-3">
|
||||
<h3>Hilfesammlung</h3>
|
||||
{% for bird in birds %}
|
||||
<h4>{{ bird.name }}</h4>
|
||||
<p>{{ bird.description }}</p>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for bird in birds %}
|
||||
<li>
|
||||
<a href="{% url 'bird_help_single' bird.id %}">{{ bird.name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
10
app/bird/templates/bird/bird_help_single.html
Normal file
10
app/bird/templates/bird/bird_help_single.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-lg-8 mb-3">
|
||||
<h3>{{ bird.name }}</h3>
|
||||
<p>{{ bird.description|safe }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue