modified V,C,M related with layout and have bug between layout and design

This commit is contained in:
Kaito committed 2011-08-08 09:30:44 +08:00
1 parent c8d58e30aa
commit 706ec745c3
9 files changed
+37 -33

No files matched your search

+9 -1
View File
@@ -24,7 +24,15 @@
<% end %>
</p>
<p>
<%= render :partial => 'design_file' ,:locals => { :fieldname=>"stylesheet",:object=>@design ,:f=>f,:rtype=>'stylesheets',:item_destroy=>true,:item_editable=>true } %>
<%= f.label "structure_css", t('admin.structure_css') %>
<% if @design.structure_css.blank? %>
<%= f.file_field :structure_css %>
<% else%>
<%= File.basename (Design.all.last.structure_css.url) %>
<% end %>
</p>
<p>
<%= render :partial => 'design_file' ,:locals => { :fieldname=>"themes",:object=>@design ,:f=>f,:rtype=>'stylesheets',:item_destroy=>true,:item_editable=>true } %>
</p>
<p>