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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-07-27 09:02:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1824.
  • Revision ID: grantw@unimelb.edu.au-20100727090206-pmf5j6lu6xc892q8
Replace semester.semester with semester.{code,url_name,display_name}.

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>