Sha256: 599d2a685905ed989e609fa5318984104a1090612c9441d59533521a06252317
Contents?: true
Size: 997 Bytes
Versions: 1
Compression:
Stored size: 997 Bytes
Contents
<div class="btn-group pull-right" role="group" aria-label="Button group"> <% if member_action? || new_action? %> <%= link_to(Archangel.t(:back), backend_pages_path, class: "btn btn-link", role: "button") %> <% end %> <% if collection_action? || show_action? || edit_action? %> <%= link_to(Archangel.t(:new), new_backend_page_path, class: "btn btn-link", role: "button") %> <% end %> <% if show_action? %> <%= link_to(Archangel.t(:edit), edit_backend_page_path(@page), class: "btn btn-link", role: "button") %> <% end %> <% if show_action? || edit_action? %> <%= link_to(Archangel.t(:destroy), backend_page_path(@page), 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/pages/_buttons.html.erb |