Class: Maquina::Application::IndexTools
- Inherits:
-
Phlex::HTML
- Object
- Phlex::HTML
- Maquina::Application::IndexTools
- Includes:
- Maquina::ApplicationView
- Defined in:
- app/views/maquina/application/index_tools.rb
Instance Method Summary collapse
Methods included from Maquina::ApplicationView
#attribute_human_name, #button_to, #image_tag, #link_to, #model_human_name, #svg_icon
Instance Method Details
#view_template ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'app/views/maquina/application/index_tools.rb', line 7 def view_template div(class: "flex items-center justify-between mt-8") do div(class: "flex flex-1 items-center space-x-2") do render Maquina::Application::Search.new if resource_class.searchable? render Maquina::Application::Filters.new if filters.any? end end end |