section_to_show_menu.handlebars 691 B

12345678910111213141516171819202122
  1. <button type="button" class="section-select-button">
  2. {{#t "showing_sections"}}
  3. Showing <span class="selected-section">{{currentSection}}</span>
  4. {{/t}}
  5. </button>
  6. <ul class="section-select-menu" id="section-to-show-menu">
  7. {{#if showSections}}
  8. <li>{{#t "choose_a_section_to_show"}}Choose a section to show{{/t}}</li>
  9. {{else}}
  10. <li>{{#t "showing_course"}}Showing Course{{/t}}</li>
  11. {{/if}}
  12. {{#each sections}}
  13. <li>
  14. <a href="#">
  15. <label for="section_option_{{id}}">{{{name}}}</label>
  16. <input id="section_option_{{id}}" type="radio" value="{{id}}" name="section_to_show_radio" {{#if checked}} checked {{/if}} />
  17. </a>
  18. </li>
  19. {{/each}}
  20. </ul>