Sha256: a41e2fd4d4bc9c0710964c1001ff6e6bc6d2e14123475a63739a7b286100b310

Contents?: true

Size: 890 Bytes

Versions: 1

Compression:

Stored size: 890 Bytes

Contents

<tr>
  <td><%= image_tag(asset.file.tiny.url, alt: asset.file_name) %></td>
  <td class="d-none d-sm-table-cell">
    <%= asset.file_name %>
  </td>
  <td class="d-none d-lg-table-cell">
    <%= asset.content_type %>
  </td>
  <td class="d-none d-lg-table-cell">
    <%= number_to_human_size(asset.file_size) %>
  </td>
  <td class="actions text-right">
    <%= link_to(Archangel.t(:show), backend_asset_path(asset), class: "btn btn-info btn-sm") %>
    <%= link_to(Archangel.t(:edit), edit_backend_asset_path(asset), class: "btn btn-warning btn-sm") %>
    <%= link_to(Archangel.t(:destroy), backend_asset_path(asset), class: "btn btn-danger btn-sm d-none d-md-inline-block",
                                                                  method: :delete,
                                                                  data: { confirm: Archangel.t(:are_you_sure) }) %>
  </td>
</tr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archangel-0.4.0 app/views/archangel/backend/assets/_asset.html.erb