Class: Records::Index

Inherits:
Views::Base
  • Object
show all
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

Constructor Details

#initializeIndex

Returns a new instance of Index.



11
12
# File 'app/views/databasium/records/index.rb', line 11

def initialize
end

Instance Method Details

#view_templateObject



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