Modify edit page. Still need to handle "form" with drop down lists
This commit is contained in:
1 parent
1d214bedec
commit
27d47215e9
10 files changed
+42
-8
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user