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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/submit.html

  • Committer: William Grant
  • Date: 2009-03-26 12:15:37 UTC
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090326121537-e2r5pqr4kksnqeq5
Fix the SubmitView XHTML up a bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    <div id="ivle_padding">
9
9
      <p>You are submitting '${path}' from the repository for ${principal}.</p>
10
10
      <p>Which project do you wish to submit this for?</p>
11
 
      <form action="" method="POST">
 
11
      <form action="" method="post">
12
12
        <ul style="list-style: none">
13
13
          <li py:for="project in principal.get_projects()"
14
14
              py:with="attrs = {'disabled': 'disabled'} if project.deadline &lt; now else {}">
15
 
            <input type="radio" name="project" value="${project.id}" py:attrs="attrs">
16
 
              ${project.name} - <em>${project.synopsis}</em> - (due
17
 
${format_datetime(project.deadline)})
18
 
            </input>
 
15
            <input type="radio" name="project" id="project_${project.id}" value="${project.id}" py:attrs="attrs" />
 
16
            <label for="project_${project.id}">${project.name} - <em>${project.synopsis}</em> - (due ${format_datetime(project.deadline)})</label>
19
17
          </li>
20
18
        </ul>
21
19
        <p>You may resubmit this project again at any time until the deadline.</p>
22
 
        <input type="submit" value="Submit Project" />
 
20
        <p><input type="submit" value="Submit Project" /></p>
23
21
      </form>
24
22
    </div>
25
23
  </body>