2013-09-23 22:44:32 +02:00
|
|
|
<div class="pull-left">
|
2014-05-07 15:23:16 +02:00
|
|
|
<a href="#/users" class="btn btn-default slide back">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-chevron-left"></span> {{t 'users_list'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2013-09-23 22:44:32 +02:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2014-05-13 01:30:22 +02:00
|
|
|
<h1 class="view-title">{{t 'users_new'}}</h1>
|
2013-09-23 22:44:32 +02:00
|
|
|
|
|
|
|
<div class="br"></div>
|
|
|
|
|
|
|
|
<form action="#/users" method="POST" class="form-horizontal">
|
|
|
|
|
|
|
|
<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">
|
2013-09-23 22:44:32 +02:00
|
|
|
<input type="text" name="username" class="form-control" placeholder="johndoe" required>
|
|
|
|
</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">
|
2013-09-23 22:44:32 +02:00
|
|
|
<input type="text" name="firstname" class="form-control" placeholder="John" required>
|
|
|
|
</div>
|
2013-09-24 19:10:01 +02:00
|
|
|
<div class="col-sm-5 col-xs-6">
|
2013-09-23 22:44:32 +02:00
|
|
|
<input type="text" name="lastname" class="form-control" placeholder="Doe" required>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="form-group">
|
2014-05-13 01:30:22 +02:00
|
|
|
<label for="mail" class="col-sm-3 control-label">{{t 'user_email'}}</label>
|
2013-09-24 19:10:01 +02:00
|
|
|
<div class="clearfix visible-xs"></div>
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
2013-09-23 22:44:32 +02:00
|
|
|
<input type="text" name="email" class="form-control" placeholder="johndoe" required>
|
|
|
|
</div>
|
2013-09-24 19:10:01 +02:00
|
|
|
<div class="col-sm-5 col-xs-6">
|
2013-09-24 16:54:33 +02:00
|
|
|
<select class="form-control" name="domain">
|
|
|
|
{{#Domains}}
|
|
|
|
<option>@{{.}}</option>
|
|
|
|
{{/Domains}}
|
|
|
|
</select>
|
2013-09-23 22:44:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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>
|
2013-09-24 19:02:12 +02:00
|
|
|
<div class="col-sm-9">
|
2013-09-23 22:44:32 +02:00
|
|
|
<input type="password" name="password" class="form-control" placeholder="•••••" required>
|
|
|
|
</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>
|
2013-09-24 19:02:12 +02:00
|
|
|
<div class="col-sm-9">
|
2013-09-23 22:44:32 +02:00
|
|
|
<input type="password" name="confirmation" class="form-control" placeholder="•••••" required>
|
2014-05-13 01:30:22 +02:00
|
|
|
<div class="help-block">{{t 'password_description'}}</div>
|
2013-09-23 22:44:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</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 22:44:32 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|