redo lost code....
This commit is contained in:
1 parent
a272b871e2
commit
1ac10e70a2
3 files changed
+9
-6
No files matched your search
@@ -8,7 +8,7 @@
|
||||
<% object.send(fieldname_p).each do |t| %>
|
||||
<% li_class += 'r_destroy ' if item_destroy %>
|
||||
<% li_class += 'r_snapshot ' if item_snapshot %>
|
||||
<li class="<%= li_class %>"> <%= t.file_filename %>
|
||||
<li class="<%= li_class %>" <%= "path='#{t.file.url}'" if item_snapshot %> > <%= t.file_filename %>
|
||||
<% if item_destroy %>
|
||||
<%=fields_for "design["+fieldname_p+"][]",t,:index=>nil do |f| %>
|
||||
<%= f.hidden_field :id %>
|
||||
|
||||
Reference in new issue
Block a user