File: variable_properties.dtml

package info (click to toggle)
zope-cmfworkflow 0.4.1-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 324 kB
  • ctags: 274
  • sloc: python: 1,808; makefile: 49; sh: 39
file content (90 lines) | stat: -rw-r--r-- 1,638 bytes parent folder | download
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<form action="setProperties" method="POST">
<table>

<tr>
<th align="left">Id</th>
<td>&dtml-id;</td>
</tr>

<tr>
<th align="left">Description</th>
<td><input type="text" name="description" value="&dtml-description;"
     size="50" /></td>
</tr>

<tr>
<th align="left">
  <div class="form-label">
  Make available to catalog
  </div>
</th>
<td>
  <div class="form-element">
   <dtml-let checked="for_catalog and 'checked' or ' '">
    <input type="checkbox" name="for_catalog" value="1" &dtml-checked; />
   </dtml-let>
  </div>
</td>
</tr>

<tr>
<th align="left">
  <div class="form-label">
  Store in workflow status
  </div>
</th>
<td>
  <div class="form-element">
   <dtml-let checked="for_status and 'checked' or ' '">
    <input type="checkbox" name="for_status" value="1" &dtml-checked; />
   </dtml-let>
  </div>
</td>
</tr>

<tr>
<th align="left">
  <div class="form-label">
  Default value
  </div>
</th>
<td>
  <div class="form-element">
  <input type="text" name="default_value" value="&dtml-default_value;" />
  </div>
</td>
</tr>

<tr>
<th align="left">
  <div class="form-label">
  Default expression<br />(overrides default value)
  </div>
</th>
<td>
  <div class="form-element">
  <input type="text" name="default_expr" value="&dtml-getDefaultExprText;" size="50" />
  </div>
</td>
</tr>

<tr>
<th align="left" valign="top">
  <div class="form-label">
  Info guard
  </div>
</th>
<td>
 <dtml-with getInfoGuard>
  <dtml-var guardForm>
 </dtml-with>
</td>
</tr>

</table>
<input type="submit" name="submit" value="Save changes" />
</form>
<dtml-var manage_page_footer>