Class: Records::Index
- Inherits:
-
Views::Base
- Object
- Views::Base
- Records::Index
- Includes:
- Phlex::Rails::Helpers::ContentFor, Phlex::Rails::Helpers::FormWith, Phlex::Rails::Helpers::LinkTo, Phlex::Rails::Helpers::TurboFrameTag
- Defined in:
- app/views/databasium/records/index.rb
Instance Method Summary collapse
-
#initialize ⇒ Index
constructor
A new instance of Index.
- #view_template ⇒ Object
Constructor Details
#initialize ⇒ Index
Returns a new instance of Index.
11 12 |
# File 'app/views/databasium/records/index.rb', line 11 def initialize end |
Instance Method Details
#view_template ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'app/views/databasium/records/index.rb', line 14 def view_template content_for(:title) { "Records" } content_for(:sidebar) { render Components::Databasium::Records::Sidebar.new } div(class: "flex min-h-0 min-w-0 flex-1") do render Components::Databasium::Records::TableTurboFrame.new render Components::Databasium::Records::Table::RecordPanel.new end end |