1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 18:38:23 +02:00

add templates forms and tags

This commit is contained in:
Pierre-antoine Comby
2019-08-11 19:55:04 +02:00
parent 075f30d9e5
commit 8b4125a25d
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% load static %}
{% load crispy_forms_tags %}
{% block content %}
<p><a class="btn btn-default" href="{% url 'note:template_list' %}">book Listing</a></p>
<form method="post">
{% csrf_token %}
{{form|crispy}}
<button class="btn btn-primary" type="submit">Submit</button>
</form>
{% endblock %}