17 lines
491 B
Plaintext
17 lines
491 B
Plaintext
<span id='module_app_list'>
|
|
<%= f.select :module_app, options_from_collection_for_select(@module_apps, :id, :title, :selected => @module_app.id), {}, {:rel => admin_page_parts_path} %>
|
|
</span>
|
|
|
|
<span id='widget_list'>
|
|
<%= f.select :widget_path, @module_app.widgets.collect{|widget| [widget.humanize, widget]}, :selected => @part.widget_path %>
|
|
</span>
|
|
|
|
:
|
|
|
|
<span id="widget_category">
|
|
<%= render 'widget_categories' %>
|
|
</span>
|
|
or
|
|
<span id="widget_tag">
|
|
<%= render 'widget_tags' %>
|
|
</span> |