~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: 2010-02-11 08:36:15 UTC
  • Revision ID: grantw@unimelb.edu.au-20100211083615-5imzir7px5dblvwk
divify the login form, fixing up the submit/error indentation while there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
          <form action="" method="post">
28
28
            <table>
29
29
              <tr py:for="project in principal.get_projects(offering=offering)"
 
30
                  py:with="attrs = {'disabled': 'disabled'} if project.has_deadline_passed(req.user) else {}"
30
31
                  py:attrs="{'class': 'project closed'} if project.has_deadline_passed(req.user) else {'class': 'project'}">
31
32
                <td style="vertical-align: top">
32
 
                  <input type="radio" name="project" id="project_${project.id}" value="${project.id}" />
 
33
                  <input type="radio" name="project" id="project_${project.id}" value="${project.id}" py:attrs="attrs" />
33
34
                </td>
34
35
                <td>
35
36
                  <label for="project_${project.id}">
59
60
                    </py:if>
60
61
                    <br />
61
62
                    ${project.synopsis}
62
 
                    <py:if test="project.has_deadline_passed(req.user)"><br />
63
 
                      <em>Note: The deadline has passed. You may still submit late, but a penalty may be incurred.</em>
64
 
                    </py:if>
65
63
                  </label>
66
64
                </td>
67
65
              </tr>
68
66
            </table>
69
67
            <p>Ensure that you have committed all changes - only changes in the repository will be submitted.</p>
70
 
            <p>You may resubmit a project again at any time, but a new submission will overwrite any made earlier, and submissions after the deadline may incur a penalty.</p>
71
 
            <p><input type="submit" value="Submit Project" />
72
 
              <a class="helpaction" href="/+help/Submitting%20a%20project">Help submitting a project</a>
73
 
            </p>
 
68
            <p>You may resubmit a project again at any time until its deadline.</p>
 
69
            <p><input type="submit" value="Submit Project" /></p>
74
70
          </form>
75
71
        </div>
76
72
      </py:choose>