Sha256: 670984dddad4d34612be6c916c0e102991d6b471d0d9b67e187bf2b2b27a179e
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
<table id="file_list_for_<%=tab.association.name%>"> <thead> <tr> <th>Name</th> <th>*</th> </tr> </thead> <tbody> <% files = tab.association_type == :one ? [resource.send(tab.association.name)].compact : resource.send(tab.association.name) %> <% files.each do |file| %> <%= render_component *tab.build("",:row,:file=>file,:value=>nil) %> <% end %> </tbody> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-file-upload-0.2.1 | app/views/components/lolita/configuration/tab/files/_list.html.erb |
lolita-file-upload-0.2.0 | app/views/components/lolita/configuration/tab/files/_list.html.erb |