Commit f2646b4a authored by Romain Courteaud's avatar Romain Courteaud Committed by Jérome Perrin

Use number field gadget to display number.

parent 8aa5e465
......@@ -51,6 +51,9 @@
'beforeend',
label_template({label: (property.name || property.id)})
);
if (property.type === "number") {
return gadget.declareGadget("../number_field/index.html");
}
return gadget.declareGadget("../string_field/index.html");
})
.push(function (gg) {
......
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