venom/tpl/admin/jsTemplates/userEdit.tpl
engineerTrooper 6523e77742 VENOM: Entity fixed JSON
EntityManger added return value
EntityManager added getFirst
Fixed Some Admin shit :)
2021-01-04 22:24:32 +01:00

34 lines
1.5 KiB
Smarty
Executable file

<div class="users-edit">
<header>
<h2>User: ${username}</h2>
</header>
<div>
<span data-link="/users" class="icon-text">
{include(includes/svg;class=back-arrow;icon=vt-arrow-back)}
</span>
</div>
<h3>User-Data</h3>
<form id="user-form" data-id="${id}">
<div class="spacer">
{include(includes/input;class=input-group;label=Username;name=username;error=Username is required;default=$username)}
{include(includes/input;class=input-group;label=Firstname;name=firstname;error=Firstname is required;default=$firstname;classes=spacer)}
{include(includes/input;class=input-group;label=Lastname;name=lastname;error=Lastname is required;default=$lastname;classes=spacer)}
{include(includes/input;class=input-group;label=E-Mail;name=newEMailAddress;error=E-Mail Address is required;default=$email;classes=spacer)}
</div>
<div class="btn-line">
{include(includes/btn;type=valid;content=Save)}
{include(includes/btn;type=warn;content=Delete User)}
</div>
</form>
<h3>Change Password</h3>
<form id="password-form" data-id="${id}">
{include(includes/input;class=input-group;label=Password;name=password;type=password;classes=spacer)}
{include(includes/input;class=input-group;label=Password (Repeat);name=passwordRepeat;type=password;classes=spacer)}
<div class="btn-line">
{include(includes/btn;type=valid;content=Save)}
</div>
</form>
</div>