Class: UiBibz::Ui::Ux::TableSearchField
- Inherits:
-
Base
- Object
- Base
- UiBibz::Ui::Ux::TableSearchField
- Defined in:
- lib/ui_bibz/ui/ux/table/table_search_field.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary (collapse)
-
- (TableSearchField) initialize(options = nil, html_options = nil)
constructor
Initialize search_field with component item.
-
- (Object) render
Render html tag.
Methods inherited from Base
Constructor Details
- (TableSearchField) initialize(options = nil, html_options = nil)
Initialize search_field with component item
6 7 8 |
# File 'lib/ui_bibz/ui/ux/table/table_search_field.rb', line 6 def initialize = nil, = nil @search_field = UiBibz::Ui::Core::Component.new nil, , end |
Instance Method Details
- (Object) render
Render html tag
11 12 13 14 15 16 17 18 19 |
# File 'lib/ui_bibz/ui/ux/table/table_search_field.rb', line 11 def render if @search_field.[:wrap_form] != false form_tag(url_for(url_parameters), method: :get, class: 'form-table-search-field') do search_field_html end else search_field_html end end |