fixed Widget data count should be available for other widgets, not only for default widget. The availability of this option must be set in the init

This commit is contained in:
Fu Matthew committed 2013-02-23 15:19:04 +08:00
1 parent d6dd38744b
commit 8592015b1b
3 files changed
+18 -13

No files matched your search

+9
View File
@@ -66,6 +66,15 @@
<%= render :partial => 'frontend_setting', :locals=>{:object=>@item,:f=>f} %>
</div>
<div class="control-group">
<label for="page[widget_data_count]" class="control-label">
<%= t("default_widget.widget_data_count") %>
</label>
<div class="controls">
<%= text_field_tag "page[frontend_data_count]",@item.frontend_data_count %>
</div>
</div>
<div class="control-group">
<%= f.label :is_published, "#{t('front_page.is_published')} ?", :class => 'control-label' %>