LT-253: Added Collection to store Additional Findings in the database. Set up some form components that store temporary UI state
This commit is contained in:
1 parent
022c534895
commit
40062e2e9d
35 files changed
+599
-216
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<template name="selectInput">
|
||||
<div class="form-group {{#if isInvalidKey key}}has-error{{/if}}">
|
||||
{{ #with getSchema key }}
|
||||
<label class="control-label">
|
||||
{{label}}
|
||||
</label>
|
||||
<div>
|
||||
<select id="{{../key}}"
|
||||
name="{{../key}}"
|
||||
required="{{isRequired}}"
|
||||
class="form-control js-form-update">
|
||||
{{#each option in allowedValues}}
|
||||
<option value="{{option}}"
|
||||
selected="{{#if equals selectedOptionValue option}}selected{{/if}}">
|
||||
{{option}}
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
{{> helpBlock }}
|
||||
</div>
|
||||
{{ /with }}
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user