diff options
Diffstat (limited to 'design/templates/notes/create.html')
-rw-r--r-- | design/templates/notes/create.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/design/templates/notes/create.html b/design/templates/notes/create.html new file mode 100644 index 0000000..3bd765d --- /dev/null +++ b/design/templates/notes/create.html @@ -0,0 +1,18 @@ +{% extends 'base.html' %} +{% block content %} +<main> + <h1>Create a new note</h1> +<form action="" method="post"> +{% csrf_token %} +{{ form.non_field_errors }} +{% for field in form %} +<fieldset {% if field.errors %}class="error"{%endif%}> +{{field.label_tag}} +{{field}} +{% if field.errors %}{{field.errors}}{% endif %} +</fieldset> +{% endfor %} +<p><input class="btn" value="submit" type="submit" /></p> +</form> +</main> +{% endblock %} |