Class: Nemo::Examples::PersonEditor::Editor
- Inherits:
-
Visitors::Editor
- Object
- Wee::Component
- Visitors::Visitor
- Visitors::Editor
- Nemo::Examples::PersonEditor::Editor
- Defined in:
- lib/nemo/examples/person_editor.rb
Overview
Wrap standard editor in a page
Instance Attribute Summary
Attributes inherited from Visitors::Editor
#multiple_attribute_editors, #validation_errors
Attributes inherited from Visitors::Visitor
Instance Method Summary collapse
Methods inherited from Visitors::Editor
#backtrack_state, #calendar_class, #call_date_selector, #cancel, #children, #commit, #initialize, #initialize_subforms, #multiattr_class, #remove_errors, #render_buttons, #render_fields, #render_label, #render_main, #render_validation_errors, #save, #valid?, #validation_errors?, #visit_boolean_attribute, #visit_date_attribute, #visit_multiple_attribute, #visit_multiple_relationship_attribute, #visit_password_attribute, #visit_single_relationship_attribute, #visit_text_attribute
Methods inherited from Visitors::Visitor
Methods included from Util::Accessors
#bool_accessor, #call_accessor, #proc_accessor
Constructor Details
This class inherits a constructor from Nemo::Visitors::Editor
Instance Method Details
#render ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/nemo/examples/person_editor.rb', line 9 def render r.page do r.head do r.title('Person Editor') r.link.type('text/css').rel('stylesheet').href('/nemo/person_editor.css') r.style('body { text-align: center }') end super end end |