25 lines
1.0 KiB
HTML
Executable File
25 lines
1.0 KiB
HTML
Executable File
{include file=$header title="Настройки модуля" h1="Настройки модуля"}
|
|
<section class="container">
|
|
<div class="input-group">
|
|
<select name="parent" class="form-control" id="parent" data-mod="{$smarty.get.id}" data-act="parent">
|
|
<option value="0">Без категории</option>
|
|
{section name=customer loop=$mod_cat}
|
|
{if $mod_cat[customer].id}
|
|
<option value="{$mod_cat[customer].id}">{$mod_cat[customer].txt} | {$mod_cat[customer].id}</option>
|
|
{/if}
|
|
{/section}
|
|
</select>
|
|
<span class="input-group-btn">
|
|
<button type="button" class="btn btn-outline-success" id="save_parent">Сохранить</button>
|
|
</span>
|
|
</div>
|
|
</section>
|
|
{***************************************************************************************}
|
|
<section class="container">
|
|
<form action="/mod_settings/{$smarty.const.ID}" method="post" enctype='multipart/form-data'>
|
|
{$form}
|
|
<br>
|
|
<input type="submit" name="ok" value="Сохранить" class="btn btn-success" />
|
|
</form>
|
|
</section>
|
|
{include file=$footer} |