virt2/api/mod/new_module.html

29 lines
973 B
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file=$header_admin title="Создать модуль" h1="Создать модуль"}
{*Шаблон модуля создания модулей*}
<button type="button" data-link="/all_modules/" class="btn btn-dark">
Все модули</button>
<form action="/new_module/" method="post">
<div class="input-group">
<input placeholder="Название модуля английскими буквами" type="text" class="form-control" name="input_module_name">
<select name="parent" class="form-control">
<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>
<div class="input-group-append">
<input type="submit" value="Создать" name="ok" class="btn btn-success">
</div>
</div>
</form>
{include file=$footer_admin}