Sha256: f5689de8de6b11beacb4de1dc8db22252b59c50c0734d00637b3ff4285628271

Contents?: true

Size: 671 Bytes

Versions: 9

Compression:

Stored size: 671 Bytes

Contents

<% 
  model_name = tab.dbi.klass.model_name.plural.downcase
  addon = model_name == model_name.singularize ? "_index" : ""
%>
<%= form_tag(send(:"create_upload_lolita_#{model_name}#{addon}_path", :association => tab.association.name),:method=>:post, :id=>"#{tab.association.name}_form") do %>
  <div id="file_upload_container_<%="#{tab.association.name}"%>">
    Your bowser don't have HTML5 or Flash support.
  </div>
<% end %>
 <div id="filelist">
  <%= render_component tab,:list %>
</div>
<%= render_component tab, :upload_script, :container => "file_upload_container_#{tab.association.name}"%>
<%= render_component :"lolita/configuration/tab", :fields, :tab=>tab %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lolita-file-upload-0.4.12 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.11 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.10 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.9 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.8 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.7 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.2 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.1 app/views/components/lolita/configuration/tab/files/_display.html.erb
lolita-file-upload-0.4.0 app/views/components/lolita/configuration/tab/files/_display.html.erb