Module: BetterUi::General::Components::Input::Rating::RatingHelper
- Included in:
- ApplicationHelper
- Defined in:
- app/helpers/better_ui/general/components/input/rating/rating_helper.rb
Instance Method Summary collapse
-
#bui_input_rating(name: nil, value: 0, max_stars: 5, readonly: false, half_stars: true, theme: :default, size: :medium, show_value: false, form: nil, classes: '', **options) ⇒ String
Renderizza un componente Rating (Input) interattivo con stelle per valutazioni e feedback.
Instance Method Details
#bui_input_rating(name: nil, value: 0, max_stars: 5, readonly: false, half_stars: true, theme: :default, size: :medium, show_value: false, form: nil, classes: '', **options) ⇒ String
Renderizza un componente Rating (Input) interattivo con stelle per valutazioni e feedback.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'app/helpers/better_ui/general/components/input/rating/rating_helper.rb', line 48 def (name: nil, value: 0, max_stars: 5, readonly: false, half_stars: true, theme: :default, size: :medium, show_value: false, form: nil, classes: '', **) render BetterUi::General::Input::Rating::Component.new( name: name, value: value, max_stars: max_stars, readonly: readonly, half_stars: half_stars, theme: theme, size: size, show_value: show_value, form: form, classes: classes, ** ) end |