<table class=“details media”>
<thead></thead> <tfoot></tfoot> <tbody> <tr class="filename"> <th scope="row">Filename</th> <td><%== @file.filename %></td> </tr> <tr class="path"> <th scope="row">Server Path</th> <td><%== @file.path %></td> </tr> <tr class="url"> <th scope="row">URL</th> <td><a href="<%== @file.url %>"><%== @file.url %></a></td> </tr> <tr class="mimetype"> <th scope="row">MIME Type</th> <td><%== @file.mimetype %></td> </tr> <tr class="size"> <th scope="row">Size</th> <td><%== Thoth.filesize_format(@file.size) %></td> </tr> </tbody>
</table>
<% unless @delete %>
<p> To link to this file in a blog post or page, use <kbd>[[media:<%== @file.filename %>]]</kbd> or <kbd>[[media:<%== @file.filename %>|link text]]</kbd>. </p> <p> To insert only the URL of this file (for use in <code><img></code>, for example), use <kbd>[[media_url:<%== @file.filename %>]]</kbd>. </p>
<% end %>