diff --git a/src/character/templates/character/equipment_display.html b/src/character/templates/character/equipment_display.html new file mode 100644 index 0000000..1f7e6fd --- /dev/null +++ b/src/character/templates/character/equipment_display.html @@ -0,0 +1,12 @@ +

+ + Edit + +

+

+ {{ character.equipment|linebreaksbr|default:"Rien ici..." }} +

diff --git a/src/character/templates/character/equipment_update.html b/src/character/templates/character/equipment_update.html new file mode 100644 index 0000000..31ab5aa --- /dev/null +++ b/src/character/templates/character/equipment_update.html @@ -0,0 +1,13 @@ +
+

+ + Save + +

+ {% csrf_token %} + +
diff --git a/src/character/templates/character/view.html b/src/character/templates/character/view.html index af3da94..ece3020 100644 --- a/src/character/templates/character/view.html +++ b/src/character/templates/character/view.html @@ -230,8 +230,8 @@
Équipement
-
-

{{ character.equipment|linebreaksbr|default:"Rien ici..." }}

+
+ {% include "character/equipment_display.html" %}