From bf8f799c4cbdaa20f1cf03740c0e3cc4ac4ca261 Mon Sep 17 00:00:00 2001 From: Kevin Crider Date: Wed, 18 Sep 2013 16:46:44 -0400 Subject: [PATCH] Moved delete button to the sidebar --- web/app/View/Events/index.ctp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/View/Events/index.ctp b/web/app/View/Events/index.ctp index de855b9df..370748739 100644 --- a/web/app/View/Events/index.ctp +++ b/web/app/View/Events/index.ctp @@ -52,7 +52,8 @@ echo $this->Form->inputs(array( ?> -Form->end(array('label' => 'Search', 'id' => 'EventsButtonSearch')); ?> +Form->end(array('label' => 'Search', 'id' => 'EventsButtonSearch', 'class' => 'btn btn-default')); ?> +Html->link('Delete Selected','#',array('class' => 'btn btn-default', 'onClick' => '$("#EventsDeleteSelectedForm").submit();')); ?> end(); ?> @@ -97,7 +98,7 @@ foreach ($events as $key => $value) { Form->end('Delete Selected'); + echo $this->Form->end(); ?>