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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-02-25 08:26:04 UTC
  • mfrom: (1710.1.25 new-project-ui)
  • Revision ID: matt.giuca@gmail.com-20100225082604-0fku57vycn5cgonf
Replaced AJAX UI for project creation with a standard one. Can now edit project sets, and edit/delete projects. Also many more links to such things, due to the fact that they have their own URLs now. Fixes Launchpad bug #493942.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/"
 
3
      py:strip="">
 
4
  <body py:strip="">
 
5
      <form class="verticalform" method="post" action="">
 
6
        <div>
 
7
          <label>Group size:</label>
 
8
            ${projectset.max_students_per_group if projectset.max_students_per_group is not None else 'Solo'}
 
9
        </div>
 
10
        <div>
 
11
          <label for="name">Display name:</label>
 
12
          <input type="text" id="name" name="name" />
 
13
          <span py:if="'name' in errors" class="form_error">${errors.name}</span>
 
14
        </div>
 
15
        <div>
 
16
          <label for="short_name">URL name:</label>
 
17
          <input type="text" id="short_name" name="short_name" />
 
18
          <span py:if="'short_name' in errors" class="form_error">${errors.short_name}</span>
 
19
        </div>
 
20
        <div>
 
21
          <label for="deadline">Deadline:</label>
 
22
          <input type="text" id="deadline" name="deadline" title="Timestamp in YYYY-MM-DD HH:MM:SS format" />
 
23
          <span py:if="'deadline' in errors" class="form_error">${errors.deadline}</span>
 
24
        </div>
 
25
        <div>
 
26
          <label for="url">External URL:</label>
 
27
          <input type="text" id="url" name="url" />
 
28
          <span py:if="'url' in errors" class="form_error">${errors.url}</span>
 
29
        </div>
 
30
        <div>
 
31
          <label for="synopsis">Synopsis:</label>
 
32
          <textarea id="synopsis" name="synopsis" rows="10" cols="80" />
 
33
          <span py:if="'synopsis' in errors" class="form_error">${errors.synopsis}</span>
 
34
        </div>
 
35
        <div class="submit form_error" py:if="defined('error_value')" py:content="error_value" />
 
36
        <div class="submit">
 
37
          <input type="submit" value="${submit_button_label}" />
 
38
        </div>
 
39
      </form>
 
40
  </body>
 
41
</html>