|
Lines 69-74
Link Here
|
| 69 |
<fieldset class="rows"> |
69 |
<fieldset class="rows"> |
| 70 |
<legend>[% IF course_id %]Edit course[% ELSE %]Create course[% END %]</legend> |
70 |
<legend>[% IF course_id %]Edit course[% ELSE %]Create course[% END %]</legend> |
| 71 |
<ol> |
71 |
<ol> |
|
|
72 |
<li> |
| 73 |
<label class="required" for="course_type">Type:</label> |
| 74 |
<select id="course_type" name="course_type" required="required" class="required"> |
| 75 |
<option value="">Select a type</option> |
| 76 |
|
| 77 |
[% FOREACH ct IN course_types %] |
| 78 |
[% IF ct.authorised_value == course_type %] |
| 79 |
<option value="[% ct.authorised_value | html %]" selected="selected">[% ct.lib | html %]</option> |
| 80 |
[% ELSE %] |
| 81 |
<option value="[% ct.authorised_value | html %]">[% ct.lib | html %]</option> |
| 82 |
[% END %] |
| 83 |
[% END %] |
| 84 |
</select> |
| 85 |
<span class="required">Required</span> |
| 86 |
</li> |
| 87 |
|
| 72 |
<li> |
88 |
<li> |
| 73 |
<label class="required" for="department">Department:</label> |
89 |
<label class="required" for="department">Department:</label> |
| 74 |
<select id="department" name="department" required="required" class="required"> |
90 |
<select id="department" name="department" required="required" class="required"> |
| 75 |
- |
|
|