<% if member_action? || new_action? %> <%= link_to(Archangel.t(:back), backend_collection_entries_path(@collection), class: "btn btn-link", role: "button") %> <% end %> <% if collection_action? || show_action? || edit_action? %> <%= link_to(Archangel.t(:new), new_backend_collection_entry_path(@collection), class: "btn btn-link", role: "button") %> <% end %> <% if show_action? %> <%= link_to(Archangel.t(:edit), edit_backend_collection_entry_path(@collection, @entry), class: "btn btn-link", role: "button") %> <% end %> <%= link_to(Archangel.t(:collection), backend_collection_path(@collection), class: "btn btn-link", role: "button") %> <% if show_action? || edit_action? %> <%= link_to(Archangel.t(:destroy), backend_collection_entry_path(@collection, @entry), class: "btn btn-link d-none d-md-inline-block", role: "button", method: :delete, data: { confirm: Archangel.t(:are_you_sure) }) %> <% end %>