suite
This commit is contained in:
parent
502a8631cc
commit
09fec6cec2
@ -2,5 +2,5 @@
|
||||
=form.semantic_fields_for :menu_content do |content|
|
||||
= content.inputs do
|
||||
|
||||
-MenuItem.find(:all, :conditions => {:parent_id => nil}, :order => :position).each do |m|
|
||||
-MenuItem.where(:parent_id => nil).order(:position).all.each do |m|
|
||||
=render :partial => "form_line", :locals => {:menu_item => m, :f => content}
|
Loading…
x
Reference in New Issue
Block a user