class HtmlGrid::StaticInput

Constants

LABEL

Public Instance Methods

init() click to toggle source
Calls superclass method HtmlGrid::NamedComponent#init
# File lib/htmlgrid/staticinput.rb, line 32
def init
  super
  @attributes["value"] = @lookandfeel.lookup(@name)
end
to_html(context) click to toggle source
# File lib/htmlgrid/staticinput.rb, line 37
def to_html(context)
  context.input(@attributes)
end