40 lines
1.2 KiB
HTML
Executable File
40 lines
1.2 KiB
HTML
Executable File
{include file=$header h1="Редактирование пользователя" title="Редактирование пользователя"}
|
|
|
|
<form action="" method="post">
|
|
<table class="table">
|
|
<tr><td>Фамилия, имя, отчество</td>
|
|
<td><input type="text" value="{$res[0].fam}" class="form-control" name="fam"></td></tr>
|
|
|
|
<tr><td>Филиал</td>
|
|
<td>
|
|
<select name="filial" class="form-control">
|
|
{section name=customer loop=$filial}
|
|
{if $filial[customer].id}
|
|
<option value="{$filial[customer].id}" {if $res[0].filial==$filial[customer].id}selected{/if}>{$filial[customer].val}</option>
|
|
{/if}
|
|
{/section}
|
|
</select>
|
|
|
|
</td></tr>
|
|
|
|
|
|
<tr><td>Адрес электронной почты для входа в систему</td>
|
|
<td><input type="text" value="{$res[0].email}" class="form-control" name="email"></td></tr>
|
|
|
|
<tr><td>Пароль для входа</td>
|
|
<td><input type="text" value="" class="form-control" name="pwd" placeholder="введите чтобы сменить"></td></tr>
|
|
|
|
|
|
</table>
|
|
<input type="submit" class="btn btn-outline-success" name="ok" value="Сохранить">
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{include file=$footer} |