<div class="col-md-12 general-block-decorator">
    <div class="row">
        <div class="col-md-12 title title-without-tabs">
            {intl l="Hook Admin Home config"}
        </div>
    </div>
    <div class="form-container">
        <div class="row inner-toolbar"></div>
                <div class="col-md-12">

                    {form name="hookadminhome.config.form"}
                        <form method="POST" id="pages-form" action="{url path="/admin/module/HookAdminHome/configure"}" {form_enctype} class="clearfix">

                            {form_hidden_fields}

                            {form_field form=$form field="enabled-stats"}
                                <div class="form-group">
                                    <label class="control-label" for="{$label_attr.for}">
                                        <input type="checkbox" name="{$name}" id="{$label_attr.for}" {if $value}checked{/if} />
                                        {$label}
                                        {form_error form=$form field="enabled-stats"}
                                            <br />
                                            <span class="error">{$message}</span>
                                        {/form_error}
                                    </label>
                                    {if ! empty($label_attr.help)}
                                        <span class="help-block">{$label_attr.help}</span>
                                    {/if}
                                </div>
                            {/form_field}

                            {form_field form=$form field="enabled-news"}
                                <div class="form-group">
                                    <label class="control-label" for="{$label_attr.for}">
                                        <input type="checkbox" name="{$name}" id="{$label_attr.for}" {if $value}checked{/if} />
                                        {$label}
                                        {form_error form=$form field="enabled-news"}
                                            <br />
                                            <span class="error">{$message}</span>
                                        {/form_error}
                                    </label>
                                    {if ! empty($label_attr.help)}
                                        <span class="help-block">{$label_attr.help}</span>
                                    {/if}
                                </div>
                            {/form_field}

                            {form_field form=$form field="enabled-sales"}
                                <div class="form-group">
                                    <label class="control-label" for="{$label_attr.for}">
                                        <input type="checkbox" name="{$name}" id="{$label_attr.for}" {if $value}checked{/if} />
                                        {$label}
                                        {form_error form=$form field="enabled-sales"}
                                            <br />
                                            <span class="error">{$message}</span>
                                        {/form_error}
                                    </label>
                                    {if ! empty($label_attr.help)}
                                        <span class="help-block">{$label_attr.help}</span>
                                    {/if}
                                </div>
                            {/form_field}

                            {form_field form=$form field="enabled-info"}
                                <div class="form-group">
                                    <label class="control-label" for="{$label_attr.for}">
                                        <input type="checkbox" name="{$name}" id="{$label_attr.for}" {if $value}checked{/if} />
                                        {$label}
                                        {form_error form=$form field="enabled-info"}
                                            <br />
                                            <span class="error">{$message}</span>
                                        {/form_error}
                                    </label>
                                    {if ! empty($label_attr.help)}
                                        <span class="help-block">{$label_attr.help}</span>
                                    {/if}
                                </div>
                            {/form_field}

                            <input type="submit" class="form-submit-button btn btn-sm btn-success" value="Valider" >
                        </form>
                    {/form}
                </div>
            </div>
        </div>
    </div>
</div>