yunohost-admin/views/user/user_edit.ms
2014-05-17 00:38:47 +02:00

58 lines
2.3 KiB
Text

<div class="pull-left">
<a href="#/users/{{username}}" class="btn btn-default slide back">
<span class="fa-chevron-left"></span> {{t 'info'}}
</a>
</div>
<div class="clearfix"></div>
<h1 class="view-title">{{t 'user_username_edit' username}}</h1>
<div class="br"></div>
<form action="#/users/{{username}}" method="PUT" class="form-horizontal">
<div class="panel panel-default">
<div class="panel-body">
<div class="form-group">
<label for="username" class="col-sm-3 control-label">{{t 'user_username'}}</label>
<div class="col-sm-9">
<input type="text" name="username" class="form-control" placeholder="{{username}}" disabled>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">{{t 'user_fullname'}}</label>
<div class="clearfix visible-xs"></div>
<div class="col-sm-4 col-xs-6">
<input type="text" name="firstname" class="form-control" placeholder="{{firstname}}">
</div>
<div class="col-sm-5 col-xs-6">
<input type="text" name="lastname" class="form-control" placeholder="{{lastname}}">
</div>
</div>
<div class="form-group">
<label for="mail" class="col-sm-3 control-label">{{t 'user_email'}}</label>
<div class="col-sm-9">
<input type="email" name="mail" class="form-control" placeholder="{{mail}}">
</div>
</div>
<hr>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">{{t 'password'}}</label>
<div class="col-sm-9">
<input type="password" name="password" class="form-control" placeholder="•••••">
</div>
</div>
<div class="form-group">
<label for="confirmation" class="col-sm-3 control-label">{{t 'password_confirmation'}}</label>
<div class="col-sm-9">
<input type="password" name="confirmation" class="form-control" placeholder="•••••">
<div class="help-block">{{t 'password_description'}}</div>
</div>
</div>
</div>
</div>
<div class="text-center">
<input type="submit" class="btn btn-success slide back" value="{{t 'save'}}">
</div>
</form>