~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/offering-form.html

Semesters now have separate URL name, display name and code attributes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
          <div>
24
24
            <label for="semester">Semester:</label>
25
25
            <select id="semester" name="semester">
26
 
              <option py:for="semester in semesters" value="${semester.year}/${semester.semester}">${semester.year} semester ${semester.semester}</option>
 
26
              <option py:for="semester in semesters" value="${semester.year}/${semester.url_name}">${semester.year} ${semester.display_name}</option>
27
27
            </select>
28
28
            <span py:if="'semester' in errors" class="form_error">${errors.semester}.</span>
29
29
            <a class="addaction" href="/+semesters/+new">Create new semester</a>