dealing with layout file bug
This commit is contained in:
1 parent
37633ac23d
commit
9cea77430f
5 files changed
+62
-9
No files matched your search
@@ -18,9 +18,9 @@
|
||||
<p>
|
||||
<%= f.label "layout", t('admin.layout') %>
|
||||
<% if @design.layout.blank? %>
|
||||
<%= f.file_field :layout_file %>
|
||||
<%= f.file_field :layout %>
|
||||
<% else%>
|
||||
<%= File.basename (Design.all.last.layout.url) %>
|
||||
<%= File.basename (@design.layout.file.url) %>
|
||||
<% end %>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user