]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/note_detail.html
add basic views to create/edit/delete notes
[chloro.git] / chloro / phyll / templates / phyll / note_detail.html
index 4abf3af256902ea60853c30cbbb52954f93026d7..f9d1b0101a60dacc909f22bb12c5a043c024c3f9 100644 (file)
@@ -1,8 +1,12 @@
 {% extends "phyll/base.html" %}
 {% extends "phyll/base.html" %}
+{% load i18n %}
 
 {% block body %}
 <h1>{{ object.title }}</h1>
 
 {% block body %}
 <h1>{{ object.title }}</h1>
-
 <div>{{ object.text|safe }}</div>
 <div>{{ object.text|safe }}</div>
+{% endblock %}
 
 
+{% block bottom-actions %}
+<a href="edit/">{% trans "Edit" %}</a>
+<a href="delete/">{% trans "Delete" %}</a>
 {% endblock %}
 {% endblock %}