- Fix tests
- Add no_colon option
- update rails-specific lockfiles
- Treat blank (but not empty) attribute value as "not set"
- Add Rails 5x support
- Update dependencies
- Set id on value element instead of label (label can be optional).
- Fix regression. Support
:id
option.
- Wrap label and value in tags.
:defaults
options. Apply same options to all elements.:wrapper
options (change default wrappers).:label_html
and:value_html
to set attributes on tags.
- Improved implementation slightly.
- Updated dependencies.
date
anddatetime
helpers formats/converts to date and datetime.
attribute
helper explicitly casts integer to string.
- Use font-awesome-rails
fa_icon
helper to handle icons. Icons are now positioned in front of content instead of wrapping it. - Fixed tests.
- Use options[:icon] to handle Font Awesome icons.
- Wrap key-val pairs with tags.
- Explicitly require dependencies.
- Made
phone
more rubust, now normalizes phone number before formatting, thus handling plus and other characters.
- Use minitest instead of rspec
- Replaced
phony_rails
withphony
.
string
helper now working as expected. Requires block to be passed for content.
- Use
phony_rails
to format phone numbers.
- Zero values for duration not displayed. Now showing '0'.
duration
helper. Displays and integer in days, hours, minutes and seconds
- Handle installation in projects using SASS.
- Rewrote implementation using method_missing
- Fixed stylesheet loading (insert 'require' during installation).
- All formatting methods now takes a block. The contents of the block will be displayed after the label.
boolean
formatting helper, will show 'Yes' or 'No' depending on attribute value.- Install generator. Copies locales into project.
- Disabeling label with format helpers shows unescaped HTML.