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
A new instance of TableSearchField.
- - (Object) render
Methods inherited from Base
Constructor Details
- (TableSearchField) initialize(options = nil, html_options = nil)
Returns a new instance of TableSearchField
5 6 7 |
# File 'lib/ui_bibz/ui/ux/table/table_search_field.rb', line 5 def initialize = nil, = nil @search_field = UiBibz::Ui::Core::Component.new nil, , end |
Instance Method Details
- (Object) render
9 10 11 12 13 14 15 16 17 |
# File 'lib/ui_bibz/ui/ux/table/table_search_field.rb', line 9 def render if @search_field.[:wrap_form] != false form_tag(url_for(controller: store.controller, action: store.action), method: :get, class: 'form-table-search-field') do search_field_html end else search_field_html end end |