Home

Pages Classes Methods

    Table of Contents

    • hidden_field_tag(‘partial_locals', nested_on)
    • f.hidden_field('<%= options || name %>_id %>', <%= tag_options(value: “#{singular_table_name}.#{name}.id”) %>)

    Pages

    • bright_text.html.haml
    • collection_list.html.haml
    • custom.html.haml
    • default.html.haml
    • foreign_single_page_manager.html.haml
    • inline_editable.html.haml
    • link_to.html.haml
    • linked_collection_list.html.haml
    • text.html.haml
    • yes_or_no.html.haml
    • autocompletable_multiple_selection.html.haml
    • autocompletable_simple_selection.html.haml
    • checkbox.html.haml
    • collection_checkboxes.html.haml
    • collection_select.html.haml
    • custom.html.haml
    • default.html.haml
    • file.html.haml
    • hierarchy_picker.html.haml
    • nested_form.html.haml
    • polymorphic_hybrid.html.haml
    • polymorphic_select.html.haml
    • simple_select.html.haml
    • text.html.haml
    • default.html.haml
    • _links.html.haml
    • _multiple_selection.html.haml
    • _simple_selection.html.haml
    • _fields.html.haml
    • _form.html.haml
    • index.html.haml
    • _index.html.haml
    • _item.html.haml
    • new.html.haml
    • show.html.haml
    • _header.html.haml
    • _index.html.haml
    • _item.html.haml
    • _field.html.haml
    • _inline_edit.html.haml
    • _nested.fields.html.haml
    • _single_page_manager.html.haml
    • index.html.haml
    • _index.form.html.haml
    • _index.html.haml
    • _item.display.html.haml
    • _item.form.html.haml
    • _item.html.haml
    • _simple.html.haml
    • USAGE
    • _simple_select.html.haml
    • _fields.html.haml
    • show.html.haml
    • _form.html.haml
    • _index.body.html.haml
    • _index.html.haml
    • _table.header.html.haml
    • _table.item.html.haml
    • index.html.haml
    • new.html.haml
    • _menu.entry.html.haml
    • _form.html.haml
    • _index.body.html.haml
    • _single_page_manager.html.haml
    • _table.form.html.haml
    • _table.header.html.haml
    • _table.html.haml
    • _table.item.form.html.haml
    • _table.item.html.haml
    • _table.item.show.html.haml
    • index.html.haml
    • _fields.show.inline.html.haml
    • _inline_edit.html.haml
    • _inner.show.inline.html.haml
    • _nested.fields.html.haml
    • _show.inline.html.haml
    • _trailing_form.show.inline.html.haml
    • if <%= guard %> .field

      = f.collection_select('<%= options[:name] || name %>_id', <%= options[:model] %>.all, :<%= options[:value] %>, :<%= options[:display_method] %>, <%= tag_options %>)
    • else

      hidden_field_tag(‘partial_locals', nested_on)¶ ↑

      • if nested_on.try(:to_sym) == :<%= name %> and <%= singular_table_name %>.<%= name %>

        f.hidden_field('<%= options || name %>_id %>', <%= tag_options(value: “#{singular_table_name}.#{name}.id”) %>)¶ ↑

    Validate

    Generated by RDoc 6.3.2.

    Based on Darkfish by Michael Granger.