From 72eb519132eb5437dfc3aafeb29446cff4df40d6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Aug 2021 14:22:06 -0400 Subject: plan: added map for vizualizing --- app/planner/templates/planner/list.html | 3 ++ app/planner/templates/planner/update_form.html | 42 ++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 app/planner/templates/planner/update_form.html (limited to 'app/planner') diff --git a/app/planner/templates/planner/list.html b/app/planner/templates/planner/list.html index 7658352..8575d4a 100644 --- a/app/planner/templates/planner/list.html +++ b/app/planner/templates/planner/list.html @@ -16,4 +16,7 @@ {% if object.has_electric %}
  • electric
  • {% endif %} {% endfor %} +
    + +
    {% endblock %} diff --git a/app/planner/templates/planner/update_form.html b/app/planner/templates/planner/update_form.html new file mode 100644 index 0000000..18a335c --- /dev/null +++ b/app/planner/templates/planner/update_form.html @@ -0,0 +1,42 @@ +{% extends 'planner/base.html' %} +{%block extrahead%}{%endblock%} +{% load typogrify_tags %} + {% block pagetitle %}Luxagraf - Add Camp{% endblock %} + {% block content %} +
    {% csrf_token %} + {% for field in form %} +
    + {{ field.errors }} + {% if field.name == 'status'%} + {{ field }} + {% else %} + {{ field.label_tag }} {{ field }} + {% endif %} + {% if field.help_text %} +

    {{ field.help_text|safe }}

    + {% endif %} +
    +{% endfor %} +
    + +
    +
    + {% endblock %} + + {% block js %} + + + +{% endblock %} -- cgit v1.2.3-70-g09d2