Files
P42_UI/app/views/system/lab/TestView.html
T
2025-08-27 07:03:09 +00:00

46 lines
2.4 KiB
HTML
Executable File

<article eiccard>
<header>
<h1>Form test</h1>
</header>
<section class="form">
<input type="hidden" data-path="pathAnd" name="name" value="done" />
<input type="hidden" name="nameOnly" value="done" />
<input type="hidden" data-path="pathonly" value="done" />
<input type="hidden" data-path="ignoredField" class="ignore" value="Mutafuka! your snooping to much" />
<input type="hidden" data-path="basearray[0]" value="a" />
<input type="hidden" data-path="basearray[1]" value="b" />
<input type="hidden" data-path="arrayOfObjects[0].value" data-type="number" value="100" />
<input type="hidden" data-path="arrayOfObjects[0].label" value="aa" />
<input type="hidden" data-path="arrayOfObjects[1].value" data-type="number" value="200.45" />
<input type="hidden" data-path="arrayOfObjects[1].label" value="bb" />
<input type="hidden" data-path="arrayOfObjects[2].value" data-type="number" value="300" />
<input type="hidden" data-path="arrayOfObjects[2].label" value="cc" />
<input type="hidden" data-path="boolean" data-type="boolean" value="true" />
<textarea data-path="justification.description" eictextarea maxlen="200"
hint="No more than 200 characters please."
placeholder="Please type some words..."></textarea>
<label>pick some values</label>
<select eicselect multiple data-path="justification.programme" placeholder="Please select a programme...">
<option value=""></option>
<option value="1">PRG1</option>
<option value="2">PRG2</option>
<option value="3">PRG3</option>
</select>
<input eiccheckbox type="checkbox" data-path="justification.independentExpert" label="You confirm that you have relied on independent external experts to perform the project review" value="yes" />
<input eiccheckbox type="checkbox" class="ignore" data-path="justification.compliance" label="You confirm that you have complied with all the conditions and requirements set out for Fast Track scheme" />
</section>
<section primary>
<label>JSON output</label>
<textarea eictextarea class="output"></textarea>
</section>
<footer>
<div class="cols-2 right">
<div></div>
<button eicbutton primary class="generate">output form</button>
</div>
</footer>
</article>