aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/templates/single_datetime_event_create.html
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-14 17:01:22 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-14 17:01:22 +0100
commit14fa59eee9ba35ad462b5b17229a09164f5d716d (patch)
tree1223522b7cc30cf57ad8ec66e50c5081727fe3d4 /ctrack/register/templates/single_datetime_event_create.html
parentbc4edc69407f20da32a48d534b3d725cc3818c1a (diff)
about to nuke migrations
Diffstat (limited to 'ctrack/register/templates/single_datetime_event_create.html')
-rw-r--r--ctrack/register/templates/single_datetime_event_create.html29
1 files changed, 9 insertions, 20 deletions
diff --git a/ctrack/register/templates/single_datetime_event_create.html b/ctrack/register/templates/single_datetime_event_create.html
index 3494792..f663dac 100644
--- a/ctrack/register/templates/single_datetime_event_create.html
+++ b/ctrack/register/templates/single_datetime_event_create.html
@@ -1,24 +1,13 @@
-{% extends "base.html" %}
+{% extends "snippets/event_form_base.html" %}
{% load static %}
{% load crispy_forms_tags %}
-{% block title %}
- Create a new event (Meeting, Phone call, Email)
-{% endblock %}
-
-
-{% block content %}
- <div class="container">
- <div class="row justify-content-center">
- <div class="col-8">
- <h3 class="mt-2">Create a new Simple Event</h3>
- <form method="post">
- {% csrf_token %}
- {{ form|crispy}}
- <button type="submit" class="btn btn-success">Submit</button>
- </form>
- </div>
- </div>
- </div>
-{% endblock content%}
+{% block form %}
+ <h3 class="mt-2">Create a new Simple Event (Meeting, Phone call, Email)</h3>
+ <form method="post">
+ {% csrf_token %}
+ {{ form|crispy }}
+ <button type="submit" class="btn btn-success">Submit</button>
+ </form>
+{% endblock form %}