Modify edit page. Still need to handle "form" with drop down lists

This commit is contained in:
chris2tof committed 2011-08-24 02:34:24 +08:00
1 parent 1d214bedec
commit 27d47215e9
10 files changed
+42 -8

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ namespace :dev do
design_1.save
home = Page.create!( :i18n_variable_id => var_10.id, :design_id => design.id, :name => 'home', :is_published => true )
home = Page.create!( :i18n_variable_id => var_10.id, :design_id => design_1.id, :name => 'home', :is_published => true, :theme_id => theme.id )
home.page_parts.create!( :name => 'header_1', :content => File.open("#{Rails.root}/lib/template/home.page").read, :kind => 'text', :i18n_variable_id => var_13.id )
end