diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-03-30 17:02:07 +0000 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-03-30 17:02:07 +0000 |
commit | 64a4842dcbcbe10c5edb057c0000659f2809c1f9 (patch) | |
tree | a1ee35a80efb0e73ace1bc217de069760396e8f1 /templates | |
parent | a4532a29da6c2a92553daeafbd3c7eca5b42f861 (diff) | |
download | troggle-64a4842dcbcbe10c5edb057c0000659f2809c1f9.tar.gz troggle-64a4842dcbcbe10c5edb057c0000659f2809c1f9.tar.bz2 troggle-64a4842dcbcbe10c5edb057c0000659f2809c1f9.zip |
Remove the redundant render_with_context() as django now does this just with the
render() shortcut
Move from mimetype to content_type, missed in last commit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/editcave2.html | 1 | ||||
-rw-r--r-- | templates/logbookentry.html | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/editcave2.html b/templates/editcave2.html index 85df6e7..03deeea 100644 --- a/templates/editcave2.html +++ b/templates/editcave2.html @@ -9,6 +9,7 @@ <script src="{{ settings.TINY_MCE_MEDIA_URL }}tiny_mce.js" type="text/javascript"></script> {% endblock %} {% block content %} +<h1>Edit Cave</h1> <form action="" method="post">{% csrf_token %} <table>{{ form }}{{caveAndEntranceFormSet}}</table> {{ versionControlForm }} diff --git a/templates/logbookentry.html b/templates/logbookentry.html index 2b60996..cc1c9f1 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -65,9 +65,9 @@ </div> <div id="col1"> -<div class="logbookentry"> -<b>{{logbookentry.date}}</b> - {{logbookentry.text|wiki_to_html}}</div> + <div class="logbookentry"> + <b>{{logbookentry.date}}</b> + {{logbookentry.text}}</div> </div> </div> |