feature/share-libs
erb 13 lines 680 Bytes
Raw
1 <tr style="vertical-align: top">
2 <td style="padding: 10px 10px 10px 0;">
3 <% if audio_file.source_file.attached? %>
4 <%= link_to(audio_file.source_file.blob.filename, my_file_detail_path(audio_file.id)) %>
5 <% else %>
6 <i>File is missing. Please delete this.</i>
7 <% end %>
8 <%= render "my/partial_audio_file_information", audio_file: audio_file %>
9 </td>
10 <td style="padding: 10px; width: 100px">
11 <%= link_to("<i class='icon-remove'></i> Delete".html_safe, my_delete_file_path(audio_file.id), data: { confirm: 'Warning! This will delete all SplitFire and Bass64 result files. Are you sure?' }, method: :delete) %>
12 </td>
13 </tr>