X-Git-Url: https://code.kerkeslager.com/?p=txt.house;a=blobdiff_plain;f=txt_house%2Ftemplates%2Fedit.html;h=7e226417d03c964cfdebd4298028057b1bba7e67;hp=ba59df2d197ee4ab0c65a7f17190d1ca0d336eb6;hb=a837b232717e170ffcf2361ea0c7a8c745ca3b53;hpb=9b232a209ae57cea33a0156a5c4cac7e72edda8f diff --git a/txt_house/templates/edit.html b/txt_house/templates/edit.html index ba59df2..7e22641 100644 --- a/txt_house/templates/edit.html +++ b/txt_house/templates/edit.html @@ -2,16 +2,13 @@ {% block body %} - - -{% if edit_key %} - - - {{ edit_key }} - - Save this key in order to edit this file in the future. -{% endif %} +
{% csrf_token %} - {% if edit_key %} - - {% else %} - - - - - - {% if incorrect_key %} - You must enter the correct edit key to save your changes. +
+ {% if edit_key %} + + + {{ edit_key }} + + Save this key in order to edit this file in the future. + + {% else %} + + + + + + {% if incorrect_key %} + You must enter the correct edit key to save your changes. + {% endif %} {% endif %} - {% endif %} +
+