Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <template>
  2. <div class="container content-alignment">
  3. <h3>Add New User</h3>
  4. <hr>
  5. <div class="col-md-5 col-xs-12">
  6. <form role="form" submit.delegate="signup()">
  7. <div class="form-group">
  8. <label for="con_pwd">User Type:</label>
  9. <select class="form-control" value.bind="user_type">
  10. <option value="">Select Type</option>
  11. <option value="producer">Producer</option>
  12. <option value="writer">Writer</option>
  13. </select>
  14. </div>
  15. <div class="form-group" if.bind="user_type === 'writer'">
  16. <label for="userame">Username:</label>
  17. <input type="text" class="form-control" id="userame" value.bind="userame" placeholder="Userame">
  18. </div>
  19. <div class="form-group">
  20. <label for="email">Email address:</label>
  21. <input type="email" class="form-control" id="email" value.bind="email" placeholder="Email">
  22. </div>
  23. <div class="form-group">
  24. <label for="pwd">Password:</label>
  25. <input type="password" class="form-control" id="pwd" value.bind="password" placeholder="Password">
  26. </div>
  27. <div class="form-group">
  28. <label for="con_pwd">Confirm Password:</label>
  29. <input type="password" class="form-control" id="con_pwd" value.bind="confirm_password"
  30. placeholder="Confirm Password">
  31. </div>
  32. <button type="submit" class="btn btn-default">Add User</button>
  33. </form>
  34. </div>
  35. </div>
  36. </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement