X-Git-Url: https://code.kerkeslager.com/?p=txt.house;a=blobdiff_plain;f=txt_house%2Ftemplates%2Fedit.html;fp=txt_house%2Ftemplates%2Fedit.html;h=ba59df2d197ee4ab0c65a7f17190d1ca0d336eb6;hp=0000000000000000000000000000000000000000;hb=9b232a209ae57cea33a0156a5c4cac7e72edda8f;hpb=3cdbc0aa5864867577563b5b3a699d47cac79770 diff --git a/txt_house/templates/edit.html b/txt_house/templates/edit.html new file mode 100644 index 0000000..ba59df2 --- /dev/null +++ b/txt_house/templates/edit.html @@ -0,0 +1,61 @@ +{% extends "base.html" %} + +{% 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. + {% endif %} + {% endif %} + + +
+ +{% endblock %}