/
methodAdd.dtml
46 lines (38 loc) · 1.66 KB
/
methodAdd.dtml
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
<dtml-var manage_page_header>
<main>
<dtml-var "manage_form_title(this(), _,
form_title='Add DTML Method',
)">
<p class="form-help">
A DTML Method is used to hold scripting tags and text content.
It can contain HTML, XML, plain text, structured-text, etcetera.
A DTML Method can contain DTML scripting tags which operate
in the context of the DTML Method's containing object.
A DTML Method differs from a DTML Document in that it does not
have properties and calls methods on its container object.
</p>
<p class="form-help">
You may create a new DTML Method object using the form below.
You may also choose to upload an existing html file from your
local computer by clicking the <I>Browse</I> button.
</p>
<form action="addDTMLMethod" method="post" enctype="multipart/form-data" class="zmi-add zmi-dtmlmethod">
<div class="form-group row">
<label for="id" class="form-label col-sm-3 col-md-2">Id</label>
<input type="text" class="form-control col-sm-9 col-md-6" name="id" id="id" />
</div>
<div class="form-group row">
<label for="title" class="form-label col-sm-3 col-md-2">Title</label>
<input type="text" class="form-control col-sm-9 col-md-6" name="title" id="title" />
</div>
<div class="form-group row">
<label for="file" class="form-label col-sm-3 col-md-2">File</label>
<input type="file" id="file" class="form-control-file col-sm-9 col-md-6" name="file:string" size="25" value="" />
</div>
<div class="controls">
<input class="btn btn-primary" type="submit" name="submit" value=" Add " />
<input class="btn btn-secondary" type="submit" name="submit" value=" Add and Edit " />
</div>
</form>
</main>
<dtml-var manage_page_footer>