Display error message if exist (INCLUDE notifications.html)
This commit is contained in:
@@ -68,7 +68,8 @@
|
||||
<input type="hidden" name="{$name}" value="{$close_url}">
|
||||
{/form_field}
|
||||
|
||||
{if $form_error and $form_error_message}{include file='includes/notifications.html' message=$form_error_message}{/if}
|
||||
{* Display error message if exist *}
|
||||
{include file='includes/notifications.html' message=$form_error_message}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
<input type="hidden" name="{$name}" value="{url path="/admin/folders/update/{$ID}"}" />
|
||||
{/form_field}
|
||||
|
||||
{if $form_error and $form_error_message}{include file='includes/notifications.html' message=$form_error_message}{/if}
|
||||
{* Display error message if exist *}
|
||||
{include file='includes/notifications.html' message=$form_error_message}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
|
||||
@@ -5,21 +5,22 @@
|
||||
{include
|
||||
file = "includes/inner-form-toolbar.html"
|
||||
hide_submit_buttons = false
|
||||
|
||||
page_url = {$pageUrl}
|
||||
close_url = {$closeUrl}
|
||||
}
|
||||
|
||||
{* Hidden field *}
|
||||
<input type="hidden" name="product_id" value="{$product_id}">
|
||||
<input type="hidden" name="current_tab" value="seo">
|
||||
|
||||
{form_hidden_fields form=$form}
|
||||
|
||||
{form_field form=$form field='success_url'}
|
||||
<input type="hidden" name="{$name}" value="{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" />
|
||||
<input type="hidden" name="{$name}" value="{$pageUrl}">
|
||||
{/form_field}
|
||||
|
||||
{* Display error message if exist *}
|
||||
{include file='includes/notifications.html' message=$form_error_message}
|
||||
|
||||
{form_field form=$form field='url'}
|
||||
<div class="form-group {if $error}has-error{/if}">
|
||||
<label for="{$label_attr.for}" class="control-label">
|
||||
@@ -71,7 +72,6 @@
|
||||
file = "includes/inner-form-toolbar.html"
|
||||
hide_submit_buttons = false
|
||||
hide_flags = true
|
||||
|
||||
page_url = {$pageUrl}
|
||||
close_url = {$closeUrl}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user