Commit a7f6ba02 authored by Ryan Herbert's avatar Ryan Herbert

form_builder.js add stringid class to ID label field

parent 7dc06b6f
Pipeline #19896 passed with stages
in 41 seconds
......@@ -147,7 +147,9 @@ SetFormBuilder.prototype = Object.create(FormBuilder.prototype);
SetFormBuilder.prototype.set_id = function() {
var id = 'id_label';
return this.build_field(id, id, this.type + ' ID');
var f = this.build_field(id, id, capitalise(this.type)+' ID');
f.className += "stringid";
return f;
};
SetFormBuilder.prototype.build_date = function(id, name, label) {
......
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