Skip to content
Snippets Groups Projects
Commit e543d234 authored by Kevin Thorne's avatar Kevin Thorne
Browse files

Custom Form Deletion

This addresses issue where custom forms added to user or organization can not be deleted.
parent 11de92f7
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ foreach ($forms as $e) { ?> ...@@ -16,7 +16,7 @@ foreach ($forms as $e) { ?>
$current_list[] = $e->get('form_id'); $current_list[] = $e->get('form_id');
if ($e->getDynamicForm()->get('type') == 'G') { ?> if ($e->getDynamicForm()->get('type') == 'G') { ?>
<div class="button-group"> <div class="button-group">
<div class="delete"><a href="#"><i class="icon-trash"></i></a></div> <div class="delete"><a href="#" onclick="$(this).closest('div.row-item').remove();$('#delete-warning').show();"><i class="icon-trash"></i></a></div>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment