summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorSean Fridman <fridman@mail.sfsu.edu>2015-04-09 16:00:21 -0400
committerSean Fridman <fridman@mail.sfsu.edu>2015-04-09 16:00:21 -0400
commitc4d8ee7c431b3511bf26da68e952808b51d663c7 (patch)
treeec578ac8bb116883e7f942b146663375d11445c3 /themes
parent757f6992aea253b06cc4f65fa0dd7da71cf82135 (diff)
Add resource delete functionality to admin
Diffstat (limited to 'themes')
-rw-r--r--themes/okadmin/templates/resource.liquid4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/okadmin/templates/resource.liquid b/themes/okadmin/templates/resource.liquid
index c0d348d..48e3ef2 100644
--- a/themes/okadmin/templates/resource.liquid
+++ b/themes/okadmin/templates/resource.liquid
@@ -14,6 +14,10 @@
<label>&nbsp;</label><button type="submit">Save</button>
<div class="clear"></div>
</form>
+ <form action="." method="POST">
+ <input type="hidden" name="_method" value="DELETE">
+ <button type="submit">Delete</button>
+ </form>
</section>
{% include 'partials/tail' %}