expressCart/views/user-new.hbs

29 lines
1.1 KiB
Handlebars
Raw Normal View History

2018-02-12 05:47:26 +10:00
{{> partials/menu}}
2020-02-01 16:59:30 +10:00
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4">
<div class="col-12">
<div class="page-header">
<div class="float-right">
2020-03-07 19:18:06 +10:00
<button type="submit" id="btnUserAdd" class="btn btn-outline-success">{{ @root.__ "Create" }}</button>
2020-02-01 16:59:30 +10:00
</div>
<h2>{{ @root.__ "New User" }}</h2>
2018-01-07 04:55:48 +10:00
</div>
2020-02-01 16:59:30 +10:00
<form id="userNewForm" data-toggle="validator" autocomplete="off">
<div class="form-group">
<label>{{ @root.__ "Users name" }} *</label>
<input type="text" class="form-control" id="usersName" value="{{user.usersName}}" required>
</div>
<div class="form-group">
<label>{{ @root.__ "User email" }} *</label>
<input type="email" class="form-control" id="userEmail" value="{{user.userEmail}}" required>
</div>
<div class="form-group">
<label>{{ @root.__ "User password" }} *</label>
<input type="password" class="form-control" id="userPassword" required>
</div>
<div class="form-group">
<label>{{ @root.__ "Password confirm" }} *</label>
<input type="password" data-match="#userPassword" class="form-control" required>
</div>
</form>
2018-01-07 04:55:48 +10:00
</div>
2020-02-01 16:59:30 +10:00
</main>