summaryrefslogtreecommitdiffstats
path: root/template/default/attachstatus/create.atml
blob: 602dab92e6caec6a8e0c5f92d1cb4d8cdc8b1f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[% INCLUDE global/header 
  title = "Create Attachment Status"
  style = "
    th { text-align: right; vertical-align: top; }
    td { text-align: left; vertical-align: top; }
  "
%]

<form method="post" action="editattachstatuses.cgi">
  <input type="hidden" name="action" value="insert">
  <input type="hidden" name="id" value="[% id %]">

  <table cellspacing="0" cellpadding="4" border="0">
    <tr>
      <th>Name:</th>
      <td>
        <input type="text" name="name" size="50" maxlength="50">
      </td>
    </tr>

    <tr>
      <th>Description:</th>
      <td>
        <textarea name="desc" rows="4" cols="50"></textarea>
      </td>
    </tr>

    <tr>
      <th>Sort Key:</th>
      <td>
        <input type="text" name="sortkey" size="5" maxlength="5">
      </td>
    </tr>

    <tr>
      <th>Product:</th>
      <td>
        <select name="product">
          [% FOREACH item = products %]
            <option value="[% item %]">[% item %]</option>
          [% END %]
        </select>
      </td>
    </tr>

    <tr>
      <th></th>
      <td>
        <input type="submit" value="Add">
      </td>
    </tr>

  </table>
</form>

[% INCLUDE global/footer %]