Sha256: 2131e6faeb819245b1ae155d4853079d727fa690f0191296ee141e2cbff38232

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

<div class="manage">
  <% if can?(:edit, page) %>
    <%= link_to activa.edit_page_path(page), :class => 'btn btn-mini' do %>
      <i class="icon-edit"></i>&nbsp;<%= t('views.pages.show.sidebar.link') %>
    <% end %>
  <% end %>

  <% if can?(:create, page) %>
    <%= link_to activa.new_page_path(:parent_id => page.id), :class => 'btn btn-mini' do %>
      <i class="icon-plus-sign"></i>&nbsp;<%= t('views.pages.index.sidebar.link') %>
    <% end %>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activa-0.0.5 app/views/activa/pages/partials/menu/_show.html.erb
activa-0.0.4 app/views/activa/pages/partials/menu/_show.html.erb
activa-0.0.3 app/views/activa/pages/partials/menu/_show.html.erb