Sha256: 52b63f1f0fc294b681ad6e288ef9fa57f73e20bc980d916a19e8d5a10b72a7b0

Contents?: true

Size: 854 Bytes

Versions: 8

Compression:

Stored size: 854 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_assets_path, class: "btn btn-link") %>
  <% end %>

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

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

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