Sha256: 26aac80457554395628648556c370eabe6c839cd4aef339f67c3babd7c012c94
Contents?: true
Size: 1.19 KB
Versions: 6
Compression:
Stored size: 1.19 KB
Contents
module Voom module Presenters module DSL module Components module Mixins module TextFields def text_field(**attribs, &block) self << Components::TextField.new(parent: self, context: context, **attribs, &block) end def text_area(**attribs, &block) self << Components::TextArea.new(parent: self, context: context, **attribs, &block) end def hidden_field(**attribs, &block) self << Components::HiddenField.new(parent: self, context: context, **attribs, &block) end def datetime_field(**attribs, &block) self << Components::DateTime.new(parent: self, context: context, **attribs, &block) end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems