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,7 @@
|
||||
<template name="helpBlock">
|
||||
{{#if isInvalidKey key}}
|
||||
<span class="help-block m-b-none">
|
||||
{{invalidKeyMessage key}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</template>
|
||||
@@ -0,0 +1,10 @@
|
||||
import { Template } from 'meteor/templating';
|
||||
|
||||
import './helpBlock.html';
|
||||
|
||||
Template.helpBlock.onCreated(function helpBlockOnCreated() {
|
||||
var instance = this;
|
||||
|
||||
// Invalid keys comes from Trials schema
|
||||
instance.invalidKeys = this.data.invalidKeys;
|
||||
});
|
||||
Reference in new issue
Block a user