Sha256: 1a2c423b8b217bc2787226929e0106864bcb4459c9a5506ef0e46841721b830b

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

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_collection_entries_path(@collection), class: "btn btn-link") %>
  <% end %>

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

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

  <%= link_to(fa_icon("circle", text: Archangel.t(:collection)), backend_collection_path(@collection), class: "btn btn-link") %>

  <% if show_action? || edit_action? %>
    <%= link_to(fa_icon("times", text: Archangel.t(:destroy)), backend_collection_entry_path(@collection, @entry), 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/entries/_buttons.html.erb
archangel-0.0.8 app/views/archangel/backend/entries/_buttons.html.erb
archangel-0.0.7 app/views/archangel/backend/entries/_buttons.html.erb
archangel-0.0.6 app/views/archangel/backend/entries/_buttons.html.erb
archangel-0.0.5 app/views/archangel/backend/entries/_buttons.html.erb
archangel-0.0.4 app/views/archangel/backend/entries/_buttons.html.erb
archangel-0.0.3 app/views/archangel/backend/entries/_buttons.html.erb
archangel-0.0.2 app/views/archangel/backend/entries/_buttons.html.erb