ckeditor added and single bird help

This commit is contained in:
gw3000 2023-07-20 20:18:11 +02:00
parent a8196bc5c9
commit 371ecda4cc
7 changed files with 34 additions and 9 deletions

View file

@ -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 %}

View 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 %}