mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 21:54:14 -04:00
refactor: Change View to FormView
This commit is contained in:
parent
a06bd715a9
commit
bc116c25f8
3 changed files with 96 additions and 73 deletions
|
@ -28,7 +28,7 @@
|
|||
<a href="/add" id="submit"> Add more URLs ➕</a>
|
||||
</center>
|
||||
{% else %}
|
||||
<form id="add-form" action="?" method="POST" class="p-form">{% csrf_token %}
|
||||
<form id="add-form" method="POST" class="p-form">{% csrf_token %}
|
||||
<h1>Add new URLs to your archive</h1>
|
||||
<br/>
|
||||
{{ form.as_p }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue