// fix delete categories
This commit is contained in:
1 parent
983b4dd617
commit
dc43c0f7d3
1 file changed
+13
-6
+13
-6
@@ -50,14 +50,14 @@
|
|||||||
|
|
||||||
{block name=leadin}
|
{block name=leadin}
|
||||||
{if isset($delete_category) && $delete_category}
|
{if isset($delete_category) && $delete_category}
|
||||||
<div class="panel panel-danger">
|
<div class="panel">
|
||||||
<p>
|
<div class="panel-heading">
|
||||||
{if $need_delete_mode}
|
{if $need_delete_mode}
|
||||||
{l s='What do you want to do with the products associated with this category?'}
|
{l s='What do you want to do with the products associated with this category?'}
|
||||||
{else}
|
{else}
|
||||||
{l s='Deleting this category will remove products linked only within this category and no others. Are you sure you want to continue?'}
|
{l s='Deleting this category will remove products linked only within this category and no others. Are you sure you want to continue?'}
|
||||||
{/if}
|
{/if}
|
||||||
</p>
|
</div>
|
||||||
|
|
||||||
{if $need_delete_mode}
|
{if $need_delete_mode}
|
||||||
<form action="{$REQUEST_URI}" method="post">
|
<form action="{$REQUEST_URI}" method="post">
|
||||||
@@ -93,9 +93,16 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
<hr>
|
<div class="panel-footer">
|
||||||
<input type="submit" name="cancel" class="btn btn-default" value="{l s='Cancel'}" />
|
<button type="button" name="cancel" class="btn btn-default">
|
||||||
<input type="submit" class="btn btn-primary" value="{l s='Validate'}" />
|
<i class="icon-remove"></i>
|
||||||
|
{l s='Cancel'}
|
||||||
|
</button>
|
||||||
|
<button type="submit" class="btn btn-default">
|
||||||
|
<i class="icon-trash text-danger"></i>
|
||||||
|
{l s='Delete'}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user