DeleteGroup.handlebars 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <div class="form-dialog-content">
  2. <div class="form-horizontal">
  3. <p>{{#t 'warnings.delete_assignment_group'}}You are about to delete <strong>{{name}}</strong>, which has <strong class="assignment_count">{{assignment_count}}</strong> assignments in it.{{/t}}
  4. </p>
  5. <p>{{#t 'would_you_like'}}Would you like to:{{/t}}</p>
  6. <p>
  7. <label class="radio"><input type="radio" class="assignment_group_delete" name="action" value="delete" checked="checked"/> {{#t 'labels.delete_assignments_in_group'}}Delete its assignments{{/t}}</label>
  8. </p>
  9. <p>
  10. <label id="ag_move_{{label_id}}" class="radio"><input type="radio" class="assignment_group_move" name="action" value="move"/> {{#t 'labels.move_assignments_to'}}Move its assignments to {{/t}}</label>
  11. <select name="move_assignments_to" class="group_select" title="{{#t 'tooltips.target_group'}}Select a group to move this assignment to{{/t}}" aria-labelledby="ag_move_{{label_id}}">
  12. <option value="" class="blank">[ {{#t 'options.select_group'}}Select a Group{{/t}} ]</option>
  13. {{#each groups}}
  14. <option class="move_to_ag_{{id}}" value="{{id}}">{{name}}</option>
  15. {{/each}}
  16. </select>
  17. </p>
  18. </div>
  19. </div>
  20. <div class="form-controls">
  21. <button
  22. class="cancel_button btn dialog_closer"
  23. type="button"
  24. >{{#t "cancel"}}Cancel{{/t}}</button>
  25. <button
  26. class="delete_group btn btn-primary"
  27. data-text-while-loading='{{#t "deleting"}}Deleting...{{/t}}'
  28. type="button"
  29. >{{#t "delete"}}Delete Group{{/t}}</button>
  30. </div>