Add checkbox in different position in form generator

This commit is contained in:
gconsidine
2017-04-04 11:42:23 -04:00
parent 480772f5bc
commit 3f761d52f6
2 changed files with 15 additions and 5 deletions

View File

@@ -681,6 +681,10 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
</div>`;
}
if (options && options.checkbox) {
html += createCheckbox(options.checkbox);
}
if (field.labelAction) {
let action = field.labelAction;
let href = action.href || "";
@@ -696,10 +700,6 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
}
html += "\n\t</label>\n";
if (options && options.checkbox) {
html += createCheckbox(options.checkbox);
}
}
return html;