//helper list must be wrapped by a form even if it's a simple header

This commit is contained in:
Vincent Augagneur committed 2013-10-22 14:48:44 +02:00
1 parent b4499937d8
commit fea7cd5983
2 files changed
+2 -3

No files matched your search

@@ -149,11 +149,10 @@
{if !$simple_header} {if !$simple_header}
<input type="hidden" name="token" value="{$token}" /> <input type="hidden" name="token" value="{$token}" />
</div> </div>
</form>
{else} {else}
</div> </div>
{/if} {/if}
</form>
{hook h='displayAdminListAfter'} {hook h='displayAdminListAfter'}
{if isset($name_controller)} {if isset($name_controller)}
@@ -74,8 +74,8 @@
<div class="alert alert-warning" id="{$list_id}-empty-filters-alert" style="display:none;">{l s='Please fill at least one field to perform a search in this list.'}</div> <div class="alert alert-warning" id="{$list_id}-empty-filters-alert" style="display:none;">{l s='Please fill at least one field to perform a search in this list.'}</div>
{if !$simple_header}
<form method="post" action="{$action}" class="form-horizontal"> <form method="post" action="{$action}" class="form-horizontal">
{if !$simple_header}
<input type="hidden" id="submitFilter{$list_id}" name="submitFilter{$list_id}" value="0"/> <input type="hidden" id="submitFilter{$list_id}" name="submitFilter{$list_id}" value="0"/>
{block name="override_form_extra"}{/block} {block name="override_form_extra"}{/block}
<div class="panel col-lg-12"> <div class="panel col-lg-12">