Class: CML::Tags::Hidden

Inherits:
CML::Tag show all
Defined in:
lib/cml/tags/hidden.rb

Constant Summary collapse

Template =
<<-HTML.freeze
<input name="{{name}}" type="hidden" value="{{value}}" class="{{classes}}"/>
HTML

Instance Attribute Summary

Attributes inherited from CML::Tag

#attrs, #cml, #data, #tag

Instance Method Summary collapse

Methods inherited from CML::Tag

#children, #classes, #convert, #gold=, #gold?, #initialize, #instructions, #label, #legend, #name, #prefix, #raw_label, #to_html, #to_liquid, #to_s, #validate?, #validations, #value, #wrapper_classes

Constructor Details

This class inherits a constructor from CML::Tag

Instance Method Details

#wrapper(parsed) ⇒ Object



8
9
10
# File 'lib/cml/tags/hidden.rb', line 8

def wrapper(parsed)
  parsed
end