Add custom title to widgets

Fix pagination conflict with main_content and widgets
This commit is contained in:
Christophe Vilayphiou committed 2012-05-13 22:35:00 +08:00
1 parent 281cfa6518
commit 4ae8299949
14 files changed
+52 -28

No files matched your search

@@ -1,3 +1,14 @@
<div>
<%= f.fields_for :title, @part.title do |f| %>
<% @site_valid_locales.each do |locale| %>
<p>
<%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}" %>
<%= f.text_field locale %>
</p>
<% end %>
<% end %>
</div>
<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>