Appearance
Progress bar #
The ProgressBar
field renders a progress
element on Index
and Show
views and and a input[type=range]
element on Edit
and New
views.
ruby
field :progress, as: :progress_bar

Options #
max
step
display_value
value_suffix
Examples #
ruby
field :progress,
as: :progress_bar,
max: 150,
step: 10,
display_value: true,
value_suffix: "%"
