complete new parser for layout_part

This commit is contained in:
Kaito committed 2011-08-10 17:28:10 +08:00
1 parent 278938a52d
commit 34d0b8fac1
5 files changed
+37 -7

No files matched your search

+1 -2
View File
@@ -4,7 +4,6 @@
<%= f.label :title, t('admin.title') %>
<%= f.text_field :title, :class => 'text' %>
</p>
<p>
<%= f.label :author, t('admin.author') %>
<%= f.text_field :author, :class => 'text' %>
@@ -31,7 +30,7 @@
<% if @design.structure_css.blank? %>
<%= f.file_field :structure_css %>
<% else%>
<%= File.basename (Design.all.last.structure_css.url) %>
<%= File.basename (@design.structure_css.url) %>
<% end %>
</p>
<p>