Sha256: 2f1620257158fed6ffaa340ae9ae795340ef3cadbde73a13a26acc33778c63e4
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
<tr class="entry-<%= entry.published? ? "published" : "unpublished" %> entry-<%= entry.available? ? "available" : "unavailable" %>" data-sortable-item-id="<%= entry.id %>"> <td class="text-center"> <span class="sortable-handle" draggable="true"><%= Archangel.t(:sort) %></span> </td> <% fields.each.with_index do |field, index| %> <% cell_display = index > 1 ? "d-md-table-cell" : "d-table-cell" %> <td class="d-none <%= cell_display %>"><%= entry.value[field] %></td> <% end %> <td class="d-none d-lg-table-cell"> <%= entry.published_at %> </td> <td class="actions text-right"> <%= link_to(Archangel.t(:show), backend_collection_entry_path(entry.collection, entry), class: "btn btn-info btn-sm") %> <%= link_to(Archangel.t(:edit), edit_backend_collection_entry_path(entry.collection, entry), class: "btn btn-warning btn-sm") %> <%= link_to(Archangel.t(:destroy), backend_collection_entry_path(entry.collection, entry), 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/entries/_entry.html.erb |