aboutsummaryrefslogtreecommitdiffstats
path: root/templates/event/new.html.tera
diff options
context:
space:
mode:
Diffstat (limited to 'templates/event/new.html.tera')
-rw-r--r--templates/event/new.html.tera14
1 files changed, 5 insertions, 9 deletions
diff --git a/templates/event/new.html.tera b/templates/event/new.html.tera
index 15e5334..9a2c2da 100644
--- a/templates/event/new.html.tera
+++ b/templates/event/new.html.tera
@@ -1,10 +1,7 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Create the event</title>
- </head>
- <body>
- <h1>Create event</h1>
+{% extends "base" %}
+{% block title %}Create new event — {% endblock title %}
+{% block contents %}
+ <h1>Create new event</h1>
<form name="new_event_form" action="create" method="POST">
<label for="name">Name: </label><input name="name" type="text">
@@ -12,5 +9,4 @@
<textarea name="description"></textarea>
<input type="submit" value="Save">
</form>
- </body>
-</html>
+{% endblock contents %}