- </li>
-
- <li>
- <label class="required" for="course_number">Course number:</label>
- <input id="course_number" name="course_number" type="text" value="[% course_number %]" />
- </li>
-
- <li>
- <label for="section">Section:</label>
- <input id="section" name="section" type="text" value="[% section %]"/>
- </li>
-
- <li>
- <label class="required" for="course_name">Course name:</label>
- <input id="course_name" name="course_name" type="text" value="[% course_name %]" />
- </li>
-
- <li>
- <label for="term">Term:</label>
- [% IF terms %]
- <select id="term" name="term">
- <option value=""></option>
-
- [% FOREACH t IN terms %]
- [% IF t.authorised_value == term %]
- <option value="[% t.authorised_value %]" selected="selected">[% t.lib %]</option>
- [% ELSE %]
- <option value="[% t.authorised_value %]">[% t.lib %]</option>
- [% END %]
- [% END %]
- </select>
- [% ELSE %]
- <span id="term">No TERM authorized values found! Please create one or more authorized values with the category TERM.</span>
- [% END %]
- </li>
-
- <li>
- <label for="instructors">Instructors:</label>
-
- <fieldset>
- <div id="instructors">
- [% FOREACH i IN instructors %]
- <div id="borrower_[% i.cardnumber %]">
- [% i.surname %], [% i.firstname %] ( <a href='#' onclick='RemoveInstructor( [% i.cardnumber %] );'> Remove </a> )
- <input type='hidden' name='instructors' value='[% i.cardnumber %]' />
- </div>
- [% END %]
- </div>
-
- </fieldset>
-
- <fieldset>
- <label for="find_instructor">Instructor search:</label>
- <input autocomplete="off" id="find_instructor" type="text" style="width:150px" class="noEnterSubmit"/>
- <div id="find_instructor_container"></div>
- </fieldset>
- <li>
- <label for="staff_note">Staff note:</label>
- <textarea name="staff_note" id="staff_note">[% staff_note %]</textarea>
- </li>
-
- <li>
- <label for="public_note">Public note:</label>
- <textarea name="public_note" id="public_note">[% public_note %]</textarea>
- </li>
-
- <li>
- <label for="students_count">Number of students:</label>
- <input id="students_count" name="students_count" type="text" value="[% students_count %]" />
- </li>
-
- <li>
- <label for="enabled">Enabled?</label>
- [% IF enabled == 'no' %]
- <input type="checkbox" name="enabled" id="enabled" />
- [% ELSE %]
- <input type="checkbox" name="enabled" id="enabled" checked="checked" />
- [% END %]
- </li>
- </ol>
+ [% END %]
+ </select>
+ [% ELSE %]
+ <span class="label">Term: </span>
+ <span id="term">No TERM authorised values found! Please create one or more authorised values with the category TERM.</span>
+ [% END %]
+ </li>
+
+ <li>
+ <span class="label">Instructors:</span>
+
+ <fieldset>
+ <div id="instructors">
+ [% FOREACH i IN instructors %]
+ <div id="borrower_[% i.cardnumber %]">
+ [% i.surname %], [% i.firstname %] ( <a href='#' onclick='RemoveInstructor( [% i.cardnumber %] );'> Remove </a> )
+ <input type='hidden' name='instructors' value='[% i.cardnumber %]' />
+ </div>
+ [% END %]
+ </div>