~humaid/workflow-engine unlisted

ref: 5742459f5e4184fddef5d200e0cba0f779f869ff workflow-engine/templates/edit-step.tmpl -rw-r--r-- 1.5 KiB
5742459f — Humaid AlQassimi admin: implement adding adding of criteria in steps 8 months ago
                                                                                
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
{{template "base/head" .}}
<div class="content">
	{{template "partials/flash" .}}
	<h2>Edit step: {{.Step.StepID}}</h2>
	<form method="post">
		<div class="col-5">
			<div class="form-group">
				<p><label for="id">Step ID<sup>*</sup></label><p>
				<input type="text" id="id" name="id" value="{{.Step.StepID}}">
			</div>
			<div class="form-group">
				<p><label for="desc">Status (description)</label><p>
				<input type="text" id="desc" name="desc"
				value="{{.Step.Status}}">
			</div>
			<div class="form-group">
				<p><label for="post">Post To (comma-separated)</label><p>
				<input type="text" id="post" name="post" value="{{csv .Step.PostTo}}">
			</div>
			<div class="form-group">
				<p><label for="page">Page (used by external services)</label><p>
				<input type="text" id="page" name="page" value="{{.Step.Page}}">
			</div>
			<div class="form-group">
				<p><label for="data-in">Data In (comma-separated)</label><p>
				<input type="text" id="data-in" name="data-in"
				value="{{csv .Step.DataIn}}">
			</div>
			<div class="form-group">
				<p><label for="data-out">Data Out (comma-separated)</label><p>
				<input type="text" id="data-out" name="data-out"
				value="{{csv .Step.DataOut}}">
			</div>
			<div class="form-group">
				<p><label for="end">End Application</label><p>
				<input type="checkbox" id="end" name="end"{{if .Step.EndApplication}} checked="1"{{end}}>
			</div>
			<input type="hidden" name="_csrf" value="{{.csrf_token}}">
			<button type="submit" class="btn">Edit step</button>
		</div>
	</form>

</div>
{{template "base/footer" .}}