Skip to content

Commit

Permalink
adding a decimal partial
Browse files Browse the repository at this point in the history
  • Loading branch information
joncalhoun committed Sep 25, 2014
1 parent 77876ad commit b2098fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/upmin/partials/attributes/_decimal.html.haml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b2098fa

Please sign in to comment.