]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/note_form.html
add basic views to create/edit/delete notes
[chloro.git] / chloro / phyll / templates / phyll / note_form.html
diff --git a/chloro/phyll/templates/phyll/note_form.html b/chloro/phyll/templates/phyll/note_form.html
new file mode 100644 (file)
index 0000000..3cc0ab5
--- /dev/null
@@ -0,0 +1,16 @@
+{% extends "phyll/base.html" %}
+{% load gadjo i18n static %}
+
+{% block bottom-head %}
+<script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
+<script src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script>
+<script type="text/javascript" src="{% static "ckeditor/ckeditor-init.js" %}"></script>
+{% endblock %}
+
+{% block body %}
+<form method="post">
+{% csrf_token %}
+{{ form.as_p }}
+<button>{% trans "Submit" %}</button>
+</form>
+{% endblock %}