<%= @asset.name %>

Actions
<%= link_to edit_asset_path(@asset), class: 'action_button' do %> <%= icon("edit", library: "tabler", "aria-hidden": true) %> Edit <% end %>
<%= link_to 'Back', assets_path %>
<% if @asset.has_variant?(:medium) %>
Thumbnail
<%= image_tag @asset.upload.url(:medium), style: "max-width: 300px; max-height: 300px;" %>
<% end %>
Public Path
<% public_path = @asset.upload.url.sub(/\?\d+$/, "") %> <%= link_to public_path, public_path, target: "_blank", rel: "noopener" %>
Creator
<%= @asset.creator.presence || "—" %>
Source
<% if @asset.source_url.present? %> <%= link_to @asset.source_url, @asset.source_url %> <% else %> — <% end %>
License
<% if (license = AssetLicense.find(@asset.license_key)) %> <%= t("asset_licenses.#{license.key}") %> <% else %> — <% end %>
Content Type
<%= @asset.upload.content_type %>
Size
<%= "#{@asset.upload.size/1024} KB" %>