app/views/components/lolita/configuration/tab/files/_display.html.erb in lolita-file-upload-0.1.3 vs app/views/components/lolita/configuration/tab/files/_display.html.erb in lolita-file-upload-0.1.4
- old
+ new
@@ -2,10 +2,10 @@
<div id="file_upload_container">
Your bowser don't have HTML5 or Flash support.
</div>
<% end %>
<div id="filelist">
- <%= render_component *tab.build("",:list)%>
+ <%= render_component tab,:list %>
</div>
-<%= render_component *tab.build("",:upload_script,:container=>"file_upload_container")%>
+<%= render_component tab, :upload_script, :container => "file_upload_container"%>
<%= render_component :"lolita/configuration/tab", :fields, :tab=>tab %>