Sha256: 638768abf8f4867acf5272c4ed7042f861162c64bc4ea85ed963a2b4c53b45e4
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
<div class="btn-group pull-right" role="group" aria-label="Button group"> <% if member_action? || new_action? %> <%= link_to(Archangel.t(:back), backend_collections_path, class: "btn btn-link", role: "button") %> <% end %> <% if collection_action? || show_action? || edit_action? %> <%= link_to(Archangel.t(:new), new_backend_collection_path, class: "btn btn-link", role: "button") %> <% end %> <% if show_action? %> <%= link_to(Archangel.t(:edit), edit_backend_collection_path(@collection), class: "btn btn-link", role: "button") %> <% end %> <% if show_action? || edit_action? %> <%= link_to(Archangel.t(:entries), backend_collection_entries_path(@collection), class: "btn btn-link", role: "button") %> <%= link_to(Archangel.t(:destroy), backend_collection_path(@collection), class: "btn btn-link d-none d-md-inline-block", role: "button", method: :delete, data: { confirm: Archangel.t(:are_you_sure) }) %> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.4.0 | app/views/archangel/backend/collections/_buttons.html.erb |