Class: Plutonium::UI::Form::Components::KeyValueStore

Inherits:
Phlexi::Form::Components::Base
  • Object
show all
Includes:
Phlexi::Form::Components::Concerns::HandlesInput
Defined in:
lib/plutonium/ui/form/components/key_value_store.rb

Constant Summary collapse

DEFAULT_LIMIT =
10

Instance Method Summary collapse

Instance Method Details

#view_templateObject



12
13
14
15
16
17
18
# File 'lib/plutonium/ui/form/components/key_value_store.rb', line 12

def view_template
  div(**container_attributes) do
    render_key_value_pairs
    render_add_button
    render_template
  end
end