OSDN Git Service

fix manifest/system_resource
[pettanr/pettanr.git] / app / views / scroll_panels / _scroll_header.html.erb
index c6f316d..df0997b 100644 (file)
@@ -10,7 +10,7 @@
     </div>
     <div class="field">
       <%= f.label :visible %><br />
-      <%= f.collection_select :visible, t_select_items(MagicNumber['scroll_visible_items']), :last, :first, :html => {:selected => @scroll.visible} %>
+      <%= f.collection_select :visible, t_select_items(manifest.system_resources.select_items['scroll_visible_items']), :last, :first, :html => {:selected => @scroll.visible} %>
     </div>
     <div class="actions">
       <%= f.submit %>