Created by: gracewashere
Why?
- Many numeric values, like currency, need additional options to display correctly in the UI.
- We'd like to display numbers right-aligned in the UI, instead of left-aligned like other strings
Changes:
- Add
Administrate::Field::Number
- Allow
Number
to take aprefix
option - Allow
Number
to take adecimals
option - Update generators to correctly assign
integer
andfloat
fields a type ofNumber
. - Update changelog
Tags: #ruby