Class: Records::TableTurboFrame
- Inherits:
-
Components::Base
- Object
- Components::Base
- Records::TableTurboFrame
- Includes:
- Phlex::Rails::Helpers::TurboFrameTag
- Defined in:
- app/components/databasium/records/table_turbo_frame.rb
Instance Method Summary collapse
-
#initialize(model: nil, feedback: nil) ⇒ TableTurboFrame
constructor
A new instance of TableTurboFrame.
- #view_template ⇒ Object
Constructor Details
#initialize(model: nil, feedback: nil) ⇒ TableTurboFrame
Returns a new instance of TableTurboFrame.
8 9 10 11 |
# File 'app/components/databasium/records/table_turbo_frame.rb', line 8 def initialize(model: nil, feedback: nil) @model = model @feedback = feedback end |
Instance Method Details
#view_template ⇒ Object
13 14 15 16 17 18 |
# File 'app/components/databasium/records/table_turbo_frame.rb', line 13 def view_template div(class: "flex min-h-0 min-w-0 flex-1 flex-col") do div(id: "records_utilities") { } render_table end end |