expressCart/views/user_new.hbs

30 lines
1.2 KiB
Handlebars

{{> partials/menu}}
<div class="col-lg-9">
<div class="row">
<div class="col-md-8">
<h2>{{ @root.__ "New User" }}</h2>
<form method="post" id="edit_form" action="/admin/user/insert" data-toggle="validator">
<div class="form-group">
<label>{{ @root.__ "Users name" }} *</label>
<input type="text" class="form-control" name="usersName" value="{{user.usersName}}" required>
</div>
<div class="form-group">
<label>{{ @root.__ "User email" }} *</label>
<input type="email" class="form-control" name="userEmail" value="{{user.userEmail}}" required>
</div>
<div class="form-group">
<label>{{ @root.__ "User password" }} *</label>
<input type="password" class="form-control" id="userPassword" name="userPassword" required>
</div>
<div class="form-group">
<label>{{ @root.__ "Password confirm" }} *</label>
<input type="password" data-match="#userPassword" class="form-control" name="frm_userPassword_confirm" required>
</div>
<div class="form-group">
<div class="pull-right">
<button type="submit" class="btn btn-success">{{ @root.__ "Create" }}</button>
</div>
</div>
</div>
</div>
</div>