recipientList.handlebars 383 B

12345678910111213141516
  1. {{#ifEqual recipientType "Group"}}
  2. {{#each recipients}}
  3. <li>
  4. <span>{{name}}</span>
  5. <input name="recipients[]" type="hidden" value="group_{{id}}" />
  6. </li>
  7. {{/each}}
  8. {{else}}
  9. {{#each recipients}}
  10. <li class="student-recipient">
  11. <span>{{name}}</span>
  12. <input name="recipients[]" type="hidden" value="{{id}}" />
  13. </li>
  14. {{/each}}
  15. {{/ifEqual}}