This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-02-16 04:18:27 +00:00
|
|
|
<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 %>
|
2012-02-28 06:08:57 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
<span id="widget_category">
|
|
|
|
<%= select 'page_part', 'category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @part[:category] %>
|
2012-02-16 04:18:27 +00:00
|
|
|
</span>
|