UI clean-up

This commit is contained in:
chouseknecht
2013-06-24 11:43:10 -04:00
parent 956b076e5b
commit 85ab582155
11 changed files with 53 additions and 26 deletions

View File

@@ -522,7 +522,9 @@ angular.module('FormGenerator', ['GeneratorHelpers'])
html += "<div class=\"well\">\n";
}
html += "<form class=\"form-horizontal\" name=\"" + this.form.name + '_form" id="' + this.form.name + '" novalidate>' + "\n";
html += "<form class=\"form-horizontal";
html += (this.form['class']) ? ' ' + this.form.class : '';
html += "\" name=\"" + this.form.name + '_form" id="' + this.form.name + '" novalidate>' + "\n";
html += "<div ng-show=\"flashMessage != null && flashMessage != undefined\" class=\"alert alert-info\">{{ flashMessage }}</div>\n";
var field;