1234567891011121314151617181920212223242526272829303132333435363738 |
- <div class="message-students-dialog form-dialog-content">
- <div class="message-recipients-group-container">
- <label for="message-recipients-group">
- {{#t "recipients"}}Recipients:{{/t}}
- </label>
- {{#ifEqual recipientGroups.length 1}}
- {{recipientGroups.0.name}}
- <input type="hidden" name="recipientGroupName" value="{{recipientGroups.0.name}}" />
- {{else}}
- <select name="recipientGroupName" id="message-recipients-group">
- {{#each recipientGroups}}
- <option value="{{name}}">{{name}}</option>
- {{/each}}
- </select>
- {{/ifEqual}}
- </div>
- <div id="message-recipients">
- {{> messageStudentsWhoRecipientList this}}
- </div>
- <textarea name=body></textarea>
- </div>
- <div class="form-controls">
- <button class="btn dialog_closer btn-secondary" type="button"
- data-text-while-loading='{{#t "#buttons.sending"}}Sending...{{/t}}'>
- {{#t "#buttons.cancel"}}Cancel{{/t}}
- </button>
- <button class="btn btn-primary"
- data-text-while-loading='{{#t "#buttons.sending"}}Sending...{{/t}}'
- data-text-when-loaded='{{#t "#buttons.sent"}}Sent!{{/t}}'>
- {{#t "#buttons.send_message"}}Send Message{{/t}}
- </button>
- </div>
|