Sha256: 79f2aeff139a84a8e780903efd595a6eedab6c2cb4f6d8e9e962b2f04b2027fe
Contents?: true
Size: 893 Bytes
Versions: 1
Compression:
Stored size: 893 Bytes
Contents
<%= div_for(file_attachment) do %> <span id="file_attachment_<%= file_attachment.id %>_file_container" class="file_attachment_file_container" style="display:none;"><%= file_attachment.file_container %></span> <%= description_display(file_attachment) %> <%= name_display(file_attachment) %> <%= content_tag :p, :style => "font-size: 11px;" do %> <%= link_to "update", edit_file_attachment_path(file_attachment), { :class => 'file_attachment_dynamic_form_link fake_button' } %> <%= link_to('delete', file_attachment_path(file_attachment.id), { :method => :delete, :confirm => "Did you mean to Delete #{file_attachment.name}?", :class => 'fake_button' }) if has_authorization?(:delete, file_attachment) %> <% end if has_authorization?(:update, file_attachment) || has_authorization?(:delete, file_attachment) %> <% end %> <hr />
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
file_share-0.1.2 | app/views/file_attachments/_file_attachment.html.erb |