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>
<form action="{% url 'key'%}" method="post"> <button type="button" onclick="document.getElementById('form').open='open'"> Add Key </button>
{% csrf_token %} <dialog id="form">
{{form}} <form action="{% url 'key'%}" method="post">
<input type="Submit" value="Add"> {% csrf_token %}
</form> {{form}}
<input type="Submit" value="Add">
</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