summaryrefslogtreecommitdiffstats
path: root/application/views/file
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-08 16:19:47 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-08 16:19:47 +0200
commit712c0c158e468220a91884394be2c8e53957c628 (patch)
tree36445993c221ab2f3e732f4bd0d0b6e2f14a678e /application/views/file
parentcfef221af47d45c4072fc2491958d02deb86862e (diff)
Add delete button to info popup on paste page
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/html_header.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/views/file/html_header.php b/application/views/file/html_header.php
index 7964488d6..c40c35bca 100644
--- a/application/views/file/html_header.php
+++ b/application/views/file/html_header.php
@@ -68,6 +68,10 @@ include(FCPATH."application/views/header.php"); ?>
</table>
</div>
<div class="modal-footer">
+ <?php echo form_open("file/do_delete/", array("style" => "display: inline")); ?>
+ <input type="hidden" name="ids[<?php echo $id; ?>]" value="<?php echo $id; ?>">
+ <button class="btn btn-danger pull-left" aria-hidden="true">Delete</button>
+ </form>
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>