% layout "main";
<%= link_to $media->{download} => begin %>
<%= image $media->{download} %>
<% end %>
- ID
- <%= $media->{id} %>
- Upload name
- <%= $media->{name} %>
- Content-Type
- <%= $media->{content_type} %>
- Tags
% if ($media->{tags}->@* == 0) {
- None yet.
% } else {
-
% for my $tag ($media->{tags}->@*) {
<%= link_to $tag => url_for("tag_show", tag_id_or_name => $tag) %>
% }
% }