summaryrefslogblamecommitdiffstats
path: root/modules-available/adduser/templates/page-edituser.html
blob: b8e51b5c6bb9a25cd4f9adc2b33f9e6fa6e7fbc3 (plain) (tree)







































































                                                                                                                                                                
<form class="form-adduser" action="?do=AddUser" method="post">
	<input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-2000px" tabindex="-1">
	<input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-2000px" tabindex="-1">
	<h2>{{lang_editUser}}</h2>

	<div class="row">
		<div class="col-md-4"><label for="login">{{lang_login}}</label></div>
		<div class="col-md-4"><input id="label" type="text" name="login" value="{{login}}" class="form-control"
											  placeholder="{{lang_username}}" autofocus></div>
	</div>
	<div class="row">
		<div class="col-md-4"></div>
		<div class="col-md-8">
			<p>
				{{lang_changeLoginHint}}
			</p>
		</div>
	</div>

	<div class="row">
		<div class="col-md-4"><label for="pass1">{{lang_changePassword}}</label></div>
		<div class="col-md-4"><input id="pass1" {{password_disabled}} type="password" name="pass1" class="form-control" placeholder="{{lang_password}}">
		</div>
		<div class="col-md-4"><input {{password_disabled}} type="password" name="pass2" class="form-control"
											  placeholder="{{lang_confirmation}}"></div>
	</div>
	{{#password_disabled}}
	<div class="row">
		<div class="col-md-4"></div>
		<div class="col-md-8">
			<p>
				{{lang_changeOwnPasswordHint}}
			</p>
		</div>
	</div>
	{{/password_disabled}}
	<br>

	<div class="row">
		<div class="col-md-4"><label for="fullname">{{lang_fullName}}</label></div>
		<div class="col-md-4"><input id="fullname" type="text" name="fullname" value="{{fullname}}" class="form-control"
											  placeholder="{{lang_fullName}}"></div>
	</div>
	<br>

	<div class="row">
		<div class="col-md-4"><label for="phone">{{lang_phone}}</label></div>
		<div class="col-md-4"><input id=phone" type="text" name="phone" value="{{phone}}" class="form-control"
											  placeholder="{{lang_phone}}"></div>
	</div>
	<br>

	<div class="row">
		<div class="col-md-4"><label for="email">{{lang_email}}</label></div>
		<div class="col-md-4"><input id="email" type="text" name="email" value="{{email}}" class="form-control" placeholder="{{lang_email}}">
		</div>
	</div>
	<br>

	<div class="row">
		<div class="col-md-4"></div>
		<div class="col-md-8">
			<button class="btn btn-lg btn-primary btn-block" type="submit">
				<span class="glyphicon glyphicon-floppy-disk"></span>
				{{lang_save}}
			</button>
		</div>
	</div>
	<input type="hidden" name="action" value="edituser">
	<input type="hidden" name="userid" value="{{userid}}">
	<input type="hidden" name="token" value="{{token}}">
</form>