~humaid/workflow-engine unlisted

ref: 5742459f5e4184fddef5d200e0cba0f779f869ff workflow-engine/templates/new-criteria.tmpl -rw-r--r-- 721 bytes
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
{{template "base/head" .}}
<div class="content">
	{{template "partials/flash" .}}
	<h2>New {{.Type}} criteria for {{.Step.StepID}}</h2>
	<form method="post">
		<div class="col-5">
			<div class="form-group">
				<p><label for="name">Criteria Name</label><p>
				<input type="text" id="name" name="name" autofocus="1" required="1">
			</div>
			<div class="form-group">
				<p><label for="expr">Expression</label><p>
				<textarea id="expr" name="expr"></textarea>
			</div>
			<div class="form-group">
				<p><label for="fail">Fail Message</label><p>
				<input type="text" id="fail" name="fail">
			</div>
			<button type="submit" class="btn">Add criteria</button>
		</div>
	</form>

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