diff --git a/src/fellchensammlung/templates/fellchensammlung/detail-animal-partial.html b/src/fellchensammlung/templates/fellchensammlung/detail-animal-partial.html new file mode 100644 index 0000000..10369b0 --- /dev/null +++ b/src/fellchensammlung/templates/fellchensammlung/detail-animal-partial.html @@ -0,0 +1,19 @@ +
+Alter | +Geschlecht | +
---|---|
{{ animal.hr_age }} | +{{ animal.sex }} | +
{{ animal.description }}
+ \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/detail_animal.html b/src/fellchensammlung/templates/fellchensammlung/detail_animal.html index 4dd03ba..26dc0e6 100644 --- a/src/fellchensammlung/templates/fellchensammlung/detail_animal.html +++ b/src/fellchensammlung/templates/fellchensammlung/detail_animal.html @@ -3,21 +3,5 @@ {% load i18n %} {% block content %} -Alter | -Geschlecht | -
---|---|
{{ animal.hr_age }} | -{{ animal.sex }} | -
{{ animal.description }}
+ {% include "fellchensammlung/detail-animal-partial.html" %} {% endblock %}