diff --git a/fbf/templates/fbf/birds_all.html b/fbf/templates/fbf/bird_all.html similarity index 87% rename from fbf/templates/fbf/birds_all.html rename to fbf/templates/fbf/bird_all.html index 81e8752..489cd3b 100644 --- a/fbf/templates/fbf/birds_all.html +++ b/fbf/templates/fbf/bird_all.html @@ -8,7 +8,7 @@ Vogel Finder Fundort - angelegt am + gefunden am @@ -21,7 +21,7 @@ {{ bird.rescuer }} {{ bird.place }} - {{ bird.created }} + {{ bird.date_found }} {% endfor %} diff --git a/fbf/templates/fbf/bird_delete.html b/fbf/templates/fbf/bird_delete.html new file mode 100644 index 0000000..d274339 --- /dev/null +++ b/fbf/templates/fbf/bird_delete.html @@ -0,0 +1,26 @@ +{% extends 'base.html' %} + +{% block content %} +

Patient löschen

+
+
+
+ {% csrf_token %} +
+

Warnung!

+

Wollen Sie den Vogel {{bird.bird}} + Reg-Num.: {{bird.id}} löschen?

+
+

+ Abbruch + +
+
+
+
Vogel löschen
+

+ Hinweis zum Löschen eines Vogels! +

+
+
+{% endblock content %} \ No newline at end of file diff --git a/fbf/templates/fbf/bird_single.html b/fbf/templates/fbf/bird_single.html new file mode 100644 index 0000000..cc0cb71 --- /dev/null +++ b/fbf/templates/fbf/bird_single.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% load static %} +{% load crispy_forms_tags %} +{% block content %} +

Patient {{ bird.bird }} bearbeiten

+
+
+
+
+ {% csrf_token %} + {{form|crispy}} + + Löschen + +
+
+
+ {% endblock content %} \ No newline at end of file diff --git a/fbf/templates/fbf/birds_single.html b/fbf/templates/fbf/birds_single.html deleted file mode 100644 index 8f9953f..0000000 --- a/fbf/templates/fbf/birds_single.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} -{% load static %} -{% block content %} -

{{ bird.bird }}

-

{{ bird.id }}

-

form

-

änder und löschen

-{% endblock content %} \ No newline at end of file diff --git a/rescuer/templates/rescuer/rescuer_single.html b/rescuer/templates/rescuer/rescuer_single.html index 4dc1d4e..9bfaba7 100644 --- a/rescuer/templates/rescuer/rescuer_single.html +++ b/rescuer/templates/rescuer/rescuer_single.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load static %} +{% load crispy_forms_tags %} {% block content %}

{{ rescuer.first_name }} {{ rescuer.last_name }}