diff --git a/app/views/upmin/partials/attributes/_decimal.html.haml b/app/views/upmin/partials/attributes/_decimal.html.haml new file mode 100644 index 0000000..2d9fd52 --- /dev/null +++ b/app/views/upmin/partials/attributes/_decimal.html.haml @@ -0,0 +1,7 @@ +- decimal ||= nil +- if editable && f = form_builder + = f.text_field(attr_name, value: decimal, class: "form-control") + +- else + %p.well + = decimal