Commit c7ef15ce authored by Ryan Herbert's avatar Ryan Herbert
Browse files

form_builder.js fix label object for build_date

parent 33e72414
......@@ -111,7 +111,7 @@ FormBuilder.prototype.build_date = function(id, object, name, label) {
}
var d = this.build_wrapper();
d.appendChild(this.build_label(label, this.type, id));
d.appendChild(this.build_label(label, object, id));
var i = this.build_input(id, 'date', name, 'text', object, false, 'yyyy-mm-dd');
i.pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}";
i.title = "yyyy-mm-dd"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment