Commit b82139f2 authored by nikkastra's avatar nikkastra

key done

parent 6ba6c7fd
...@@ -19,9 +19,14 @@ ...@@ -19,9 +19,14 @@
<p> No keys. </p> <p> No keys. </p>
{% endif %} {% endif %}
</ul> </ul>
<button type="button" onclick="document.getElementById('form').open='open'"> Add Key </button>
<dialog id="form">
<form action="{% url 'key'%}" method="post"> <form action="{% url 'key'%}" method="post">
{% csrf_token %} {% csrf_token %}
{{form}} {{form}}
<input type="Submit" value="Add"> <input type="Submit" value="Add">
</form> </form>
</dialog>
{% endblock %}
{% block scripts %}
{% endblock %} {% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment