Class: Shoelace::Rails::Ui::FormHelper::ShoelaceRange

Inherits:
ActionView::Helpers::Tags::NumberField
  • Object
show all
Defined in:
app/helpers/shoelace/rails/ui/form_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#field_typeObject



70
# File 'app/helpers/shoelace/rails/ui/form_helper.rb', line 70

def field_type; nil; end

#tag(tag_name, *args, &block) ⇒ Object



72
73
74
# File 'app/helpers/shoelace/rails/ui/form_helper.rb', line 72

def tag(tag_name, *args, &block)
  tag_name.to_s == 'input' ? ('sl-range', '', *args, &block) : super
end