Add a base template

This commit is contained in:
Bat
2018-05-09 18:53:12 +01:00
parent 743e6a23d4
commit ae60d5961c
7 changed files with 105 additions and 100 deletions
+14 -15
View File
@@ -1,16 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Configuration</title>
</head>
<body>
<h1>Configure your instance</h1>
<form method="post">
<label for="name">Name</label>
<input name="name">
{% extends "base" %}
<input type="submit" value="Let's go!"/>
</form>
</body>
</html>
{% block title %}
Configuration
{% endblock title %}
{% block content %}
<h1>Configure your instance</h1>
<form method="post">
<label for="name">Name</label>
<input name="name">
<input type="submit" value="Let's go!"/>
</form>
{% endblock content %}