samlDialog.handlebars 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <div class="registration-dialog">
  2. <form class="form-horizontal bootstrap-form" method="post" action="{{path}}">
  3. <div class="control-group">
  4. <label class="control-label" for="parent_name">{{#t}}Your Name{{/t}}</label>
  5. <div class="controls">
  6. <input type="text" id="parent_name" name="user[name]">
  7. </div>
  8. </div>
  9. <div class="control-group">
  10. <label class="control-label" for="parent_email">{{#t}}Your Email{{/t}}</label>
  11. <div class="controls">
  12. <input type="text" id="parent_email" name="pseudonym[unique_id]"><div id="parent_email_error" class='error_message'></div>
  13. </div>
  14. </div>
  15. <div class="control-group">
  16. <label class="control-label" for="parent_child_username">{{#t}}Child's Username{{/t}}</label>
  17. <div class="controls">
  18. <input type="text" id="parent_child_username" name="observee[unique_id]"><div id="parent_child_username_error" class='error_message'></div>
  19. </div>
  20. </div>
  21. {{#if terms_required}}
  22. <div class="control-group">
  23. <div class="controls">
  24. <label class="checkbox">
  25. <input type="checkbox" name="user[terms_of_use]" value="1">
  26. {{{terms_html}}}
  27. </label>
  28. </div>
  29. </div>
  30. {{/if}}
  31. <div class="control-group">
  32. <p>{{#t}}You will be redirected to a Login page where you will need to log in with your child's credentials.{{/t}}</p>
  33. </div>
  34. <div class="control-group">
  35. <div class="controls">
  36. <input type="hidden" name="user[initial_enrollment_type]" value="observer">
  37. <button class="btn btn-primary" type="submit">{{#t}}Start Participating{{/t}}</button>
  38. </div>
  39. </div>
  40. </form>
  41. </div>