Sha256: f2c6887e0918622c63233b5089d5704c1df72a043472b7d01af273ad35bdc4b4

Contents?: true

Size: 1021 Bytes

Versions: 8

Compression:

Stored size: 1021 Bytes

Contents

<div class="btn-group pull-right" role="group" aria-label="Button group">
  <% if member_action? || new_action? %>
    <%= link_to(fa_icon("chevron-left", text: Archangel.t(:back)), backend_collections_path, class: "btn btn-link") %>
  <% end %>

  <% if collection_action? || show_action? || edit_action? %>
    <%= link_to(fa_icon("plus", text: Archangel.t(:new)), new_backend_collection_path, class: "btn btn-link") %>
  <% end %>

  <% if show_action? %>
    <%= link_to(fa_icon("check", text: Archangel.t(:edit)), edit_backend_collection_path(@collection), class: "btn btn-link") %>
  <% end %>

  <% if show_action? || edit_action? %>
    <%= link_to(fa_icon("circle", text: Archangel.t(:entries)), backend_collection_entries_path(@collection), class: "btn btn-link") %>

    <%= link_to(fa_icon("times", text: Archangel.t(:destroy)), backend_collection_path(@collection), class: "btn btn-link",
                                 method: :delete, data: { confirm: Archangel.t(:are_you_sure) }) %>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.8 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.7 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.6 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.5 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.4 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.3 app/views/archangel/backend/collections/_buttons.html.erb
archangel-0.0.2 app/views/archangel/backend/collections/_buttons.html.erb