Created
May 5, 2014 12:46
-
-
Save dwaligora/11535727 to your computer and use it in GitHub Desktop.
reminder.edit.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="page page-edit"> | |
| <div class="page-title"> | |
| <h3>Reminders</h3> | |
| </div> | |
| <div id="wrapper" class="add-wrap"> | |
| <div class="add-new"> | |
| <div class="single-message"> | |
| <form name="reminderAddForm" data-ng-submit="add()"> | |
| <input data-ng-model="object.title" placeholder="Title of Reminder" name="title" /> | |
| <input data-ng-model="object.location" placeholder="Location of Reminder" name="location" /> | |
| <div data-redactor style="height: 200px" data-ng-model="object.description">Reminder Description</div> | |
| <div class="editpage-selects" data-ng-if="!UserRepository.isStudent(loggedUser.roles) && !UserRepository.isParent(loggedUser.roles)"> | |
| <select data-ui-select2 data-ng-model="object.class" | |
| data-ng-options="c.id as c.code for c in classes"> | |
| <option value="">-- choose class --</option> | |
| </select> | |
| <select data-ui-select2 data-ng-model="object.user" | |
| data-ng-options="u.id as u.name for u in users"> | |
| <option value="">-- choose user --</option> | |
| </select> | |
| </div> | |
| <quick-datepicker data-label-format="EEEE, MMMM d, yyyy h:mm a" data-ng-model="object.start_at" data-placeholder="Set Start At"></quick-datepicker> | |
| <quick-datepicker data-label-format="EEEE, MMMM d, yyyy h:mm a" data-ng-model="object.end_at" data-placeholder="Set End At"></quick-datepicker> | |
| <button type="submit" class="button green-bg"> | |
| <span data-ng-if="!object.id">Add new reminder</span> | |
| <span data-ng-if="object.id">Update reminder</span> | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment