diff options
| author | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-09 16:00:21 -0400 |
|---|---|---|
| committer | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-09 16:00:21 -0400 |
| commit | c4d8ee7c431b3511bf26da68e952808b51d663c7 (patch) | |
| tree | ec578ac8bb116883e7f942b146663375d11445c3 /themes/okadmin | |
| parent | 757f6992aea253b06cc4f65fa0dd7da71cf82135 (diff) | |
Add resource delete functionality to admin
Diffstat (limited to 'themes/okadmin')
| -rw-r--r-- | themes/okadmin/templates/resource.liquid | 4 |
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> </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' %} |
