Users can now be added from the Users tab.

This commit is contained in:
chouseknecht
2013-06-05 15:02:27 -04:00
parent 69a6fc75fb
commit 135d4db94b
8 changed files with 88 additions and 36 deletions

View File

@@ -377,7 +377,7 @@ angular.module('FormGenerator', ['GeneratorHelpers'])
}
//lookup type fields
if (field.type == 'lookup') {
if (field.type == 'lookup' && (field.excludeMode == undefined || field.excludeMode != options.mode)) {
html += "<div class=\"control-group\""
html += (field.ngShow) ? this.attr(field,'ngShow') : "";
html += ">\n";

View File

@@ -146,7 +146,7 @@ angular.module('ListGenerator', ['GeneratorHelpers',])
if (options.mode != 'lookup') {
//actions
base = $location.path().replace(/^\//,'').split('/')[0];
var base = $location.path().replace(/^\//,'').split('/')[0];
html += "<div class=\"list-actions\">\n";
for (action in list.actions) {
if (list.actions[action].mode == 'all' || list.actions[action].mode == options.mode) {