AssignmentGroupSelector.handlebars 743 B

123456789101112131415161718192021222324252627
  1. <div class="form-column-left no-group">
  2. <label for="assignment_group_id">
  3. {{#t "assignment_group"}}Assignment Group{{/t}}
  4. </label>
  5. </div>
  6. <div class="form-column-right">
  7. <select id="assignment_group_id"
  8. name="{{#if nested}}assignment[assignment_group_id]{{else}}assignment_group_id{{/if}}"
  9. {{#if inClosedGradingPeriod}}
  10. readonly
  11. aria-readonly="true"
  12. {{/if}}
  13. {{disabledIfIncludes frozenAttributes "assignment_group_id"}}
  14. >
  15. {{#each assignmentGroups}}
  16. <option value="{{id}}" {{selectedIf ../assignmentGroupId this.id}}>
  17. {{name}}
  18. </option>
  19. {{/each}}
  20. <option value="new">
  21. [ {{#t "assignment_group_options.new_group"}}New Group{{/t}} ]
  22. </option>
  23. </select>
  24. </div>