2013-09-23 22:43:27 +02:00
|
|
|
<div class="pull-left">
|
2014-05-17 00:38:47 +02:00
|
|
|
<a href="#/users/{{username}}" class="btn btn-default slide back">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-chevron-left"></span> {{t 'info'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2013-09-23 22:43:27 +02:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2014-05-17 00:38:47 +02:00
|
|
|
<h1 class="view-title">{{t 'user_username_edit' username}}</h1>
|
2013-09-23 22:43:27 +02:00
|
|
|
|
|
|
|
<div class="br"></div>
|
|
|
|
|
2014-05-17 00:38:47 +02:00
|
|
|
<form action="#/users/{{username}}" method="PUT" class="form-horizontal">
|
2013-09-23 00:40:14 +02:00
|
|
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
2014-05-13 01:30:22 +02:00
|
|
|
<label for="username" class="col-sm-3 control-label">{{t 'user_username'}}</label>
|
2013-09-24 19:02:12 +02:00
|
|
|
<div class="col-sm-9">
|
2014-06-01 19:38:11 +02:00
|
|
|
<input type="text" id="username" name="username" class="form-control" placeholder="{{username}}" disabled>
|
2013-09-23 00:40:14 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2014-05-13 01:30:22 +02:00
|
|
|
<label for="firstname" class="col-sm-3 control-label">{{t 'user_fullname'}}</label>
|
2013-09-24 19:10:01 +02:00
|
|
|
<div class="clearfix visible-xs"></div>
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
2014-06-01 19:38:11 +02:00
|
|
|
<input type="text" id="firstname" name="firstname" class="form-control" placeholder="{{firstname}}">
|
2013-09-23 12:31:35 +02:00
|
|
|
</div>
|
2013-09-24 19:10:01 +02:00
|
|
|
<div class="col-sm-5 col-xs-6">
|
2014-05-17 00:38:47 +02:00
|
|
|
<input type="text" name="lastname" class="form-control" placeholder="{{lastname}}">
|
2013-09-23 00:40:14 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2014-06-01 20:23:05 +02:00
|
|
|
<label for="email" class="col-sm-3 control-label">{{t 'user_email'}}</label>
|
|
|
|
<div class="clearfix visible-xs"></div>
|
|
|
|
<input type="hidden" id="mail" name="mail" class="form-control" value="{{mail}}">
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
<input type="text" id="email" name="email" class="form-control" placeholder="{{email.username}}" value="{{email.username}}">
|
2013-09-23 00:40:14 +02:00
|
|
|
</div>
|
2014-06-01 20:23:05 +02:00
|
|
|
<div class="col-sm-5 col-xs-6">
|
|
|
|
<select class="form-control" name="domain">
|
|
|
|
{{#domains}}
|
|
|
|
<option {{#if selected}}selected="selected"{{/if}}>@{{domain}}</option>
|
|
|
|
{{/domains}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2013-09-23 00:40:14 +02:00
|
|
|
</div>
|
2014-05-07 17:25:57 +02:00
|
|
|
<hr>
|
|
|
|
<div class="form-group">
|
2014-05-13 01:30:22 +02:00
|
|
|
<label for="password" class="col-sm-3 control-label">{{t 'password'}}</label>
|
2014-05-07 17:25:57 +02:00
|
|
|
<div class="col-sm-9">
|
2014-06-01 19:38:11 +02:00
|
|
|
<input type="password" id="password" name="password" class="form-control" placeholder="•••••">
|
2014-05-07 17:25:57 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2014-05-13 01:30:22 +02:00
|
|
|
<label for="confirmation" class="col-sm-3 control-label">{{t 'password_confirmation'}}</label>
|
2014-05-07 17:25:57 +02:00
|
|
|
<div class="col-sm-9">
|
2014-06-01 19:38:11 +02:00
|
|
|
<input type="password" id="confirmation" name="confirmation" class="form-control" placeholder="•••••">
|
2014-05-13 16:37:05 +02:00
|
|
|
<div class="help-block">{{t 'password_description'}}</div>
|
2014-05-07 17:25:57 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-23 00:40:14 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="text-center">
|
2014-05-13 01:30:22 +02:00
|
|
|
<input type="submit" class="btn btn-success slide back" value="{{t 'save'}}">
|
2013-09-23 00:40:14 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|