Class: Nitro::NoneControl

Inherits:
AttributeControl show all
Defined in:
lib/nitro/control/none.rb

Instance Attribute Summary

Attributes inherited from AttributeControl

#anno, #attribute, #value

Attributes included from ElementMixin

#_children, #_parent, #_text, #_view, #id

Instance Method Summary collapse

Methods inherited from AttributeControl

#initialize

Methods included from XhtmlHelper

#date_select, #datetime_select, #hidden, #href_of, #js_popup, #link_to, #objects_to_options, #onclick_popup, #options, #popup, #submit, #time_select

Methods inherited from Element

compile_template_elements

Methods included from ElementMixin

#add_child, #close, #content, #initialize, #open, #render_children

Constructor Details

This class inherits a constructor from Nitro::AttributeControl

Instance Method Details

#renderObject



6
7
8
9
10
11
12
13
# File 'lib/nitro/control/none.rb', line 6

def render
  %{
  #{emit_label}<br />
  <div class="none_ctl_container">
    No control available
  </div>
  }
end