Inital commit
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{hook name="tab-seo.top" id=$current_id type=$seoType}
|
||||
|
||||
{form name="thelia.admin.seo"}
|
||||
<div class="form-container">
|
||||
|
||||
<form method="POST" action="{$formAction}" {form_enctype form=$form} class="clearfix">
|
||||
<form method="POST" action="{$formAction}" {form_enctype} class="clearfix">
|
||||
|
||||
{include
|
||||
file = "includes/inner-form-toolbar.html"
|
||||
@@ -14,23 +17,25 @@
|
||||
<input type="hidden" name="current_id" value="{$current_id}">
|
||||
<input type="hidden" name="current_tab" value="seo">
|
||||
|
||||
{form_hidden_fields form=$form}
|
||||
{form_hidden_fields}
|
||||
|
||||
{render_form_field form=$form field="success_url"}
|
||||
{render_form_field field="success_url" value="{$success_url nofilter}"}
|
||||
|
||||
{* Display error message if exist *}
|
||||
{include file='includes/notifications.html' message=$form_error_message}
|
||||
{include file='includes/notifications.html' message=$form_error_message alert_type="danger"}
|
||||
|
||||
{custom_render_form_field form=$form field='url'}
|
||||
{custom_render_form_field field='url'}
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">{$url_language|default:{config key="url_site"}}/</span>
|
||||
<input type="text" {form_field_attributes form=$form field='url'}>
|
||||
<span class="input-group-addon">{$url_language|default:{config key="url_site"} nofilter}/</span>
|
||||
<input type="text" {form_field_attributes field='url'}>
|
||||
</div>
|
||||
{/custom_render_form_field}
|
||||
|
||||
{render_form_field form=$form field="meta_title"}
|
||||
{render_form_field form=$form field="meta_description"}
|
||||
{render_form_field form=$form field="meta_keywords"}
|
||||
{render_form_field field="meta_title"}
|
||||
{render_form_field field="meta_description"}
|
||||
{render_form_field field="meta_keywords"}
|
||||
|
||||
{hook name="tab-seo.update-form" id=$current_id type=$seoType}
|
||||
|
||||
{include
|
||||
file = "includes/inner-form-toolbar.html"
|
||||
@@ -41,4 +46,7 @@
|
||||
}
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{/form}
|
||||
|
||||
{hook name="tab-seo.bottom" id=$current_id type=$seoType}
|
||||
Reference in New Issue
Block a user