editAssignmentOverride.handlebars 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <div id='edit_assignment_form' style='padding: 5px; width: 400px'>
  2. <div class="event-details-content">
  3. <table class="formtable" style="width: 100%;" role="presentation">
  4. <tr>
  5. <td>
  6. {{#t "due"}}Due:{{/t}}
  7. <label class="screenreader-only" id="calendar_assignment_override_due_date_accessible_label">
  8. {{#t}}Due on date{{/t}}
  9. {{datepickerScreenreaderPrompt}}
  10. </label>
  11. </td>
  12. <td>
  13. <input class="datetime_field"
  14. id="assignment_override_due_at"
  15. name="assignment_override[due_at]"
  16. size="30"
  17. style="width: 150px;"
  18. type="text"
  19. aria-labelledby="calendar_assignment_override_due_date_accessible_label"
  20. data-tooltip title="{{accessibleDateFormat}}"/>
  21. </td>
  22. </tr>
  23. <tr class="context_select">
  24. <td>{{#t "calendar"}}Calendar:{{/t}}</td>
  25. <td>
  26. <select class="context_id">
  27. {{#each contexts}}
  28. {{#if can_create_assignments}}
  29. <option value="{{asset_string}}">{{name}}</option>
  30. {{/if}}
  31. {{/each}}
  32. </select>
  33. </td>
  34. </tr>
  35. </table>
  36. <div class="popover-links-holder event-details-footer pull-right">
  37. <a href="#" class="event_button btn btn-secondary more_options_link">{{#t "links.more_options"}}More Options{{/t}}</a>
  38. <button type="submit" class="event_button btn btn-primary save_assignment">{{#t "#buttons.submit"}}Submit{{/t}}</button>
  39. </div>
  40. </div>
  41. </div>