Method: Voom::Presenters::DSL::Components::Lists::Line#hidden_field

Defined in:
lib/voom/presenters/dsl/components/lists/line.rb

#hidden_field(**attributes, &block) ⇒ Object



83
84
85
86
87
# File 'lib/voom/presenters/dsl/components/lists/line.rb', line 83

def hidden_field(**attributes, &block)
  return @hidden_field if locked?

  @hidden_field = Components::HiddenField.new(parent: self, **attributes, &block)
end