1 {% extends "base.html" %}
11 justify-content: center;
33 <a href='{% url "index" %}' title='Home'>Home</a>
34 <a href='{{ text_file.get_view_url }}' title='View'>View</a>
37 <form class='editor' action='{{ text_file.get_edit_url }}' method='post'>
39 <div class='edit-key-area'>
41 <span class='copy-area'>
42 <label for='edit-key-display'>Edit key:</label>
43 <span id='edit-key-display'>{{ edit_key }}</span>
45 <small>Save this key in order to edit this file in the future.</small>
46 <input id='edit_key' name='edit_key' type='hidden' value='{{ edit_key }}'></input>
49 <label for='edit_key'>Edit key:</label>
50 <input id='edit_key' name='edit_key' type='text'></input>
53 {% if incorrect_key %}
54 <span class='error'>You must enter the correct edit key to save your changes.</span>
59 <textarea name='text'>{{ text }}</textarea>
60 <input type='submit'></input>