--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <title>txt.house</title>
+ </head>
+
+ <body>
+ {% block body %}{% endblock %}
+ </body>
+</html>
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>txt.house</title>
- </head>
+{% extends 'base.html' %}
- <body>
- <form action='create' method='post'>
- {% csrf_token %}
- <textarea name='text'></textarea>
- <input type='submit'></input>
- </form>
- </body>
-</html>
+{% block body %}
+<form action='create' method='post'>
+ {% csrf_token %}
+ <textarea name='text'></textarea>
+ <input type='submit'></input>
+</form>
+{% endblock %}