Sha256: 63b00b37caeb011d1fe03c518a2a9ab974137c30f6cde159a221c1fd6635450b

Contents?: true

Size: 385 Bytes

Versions: 9

Compression:

Stored size: 385 Bytes

Contents

<article>
  <header>
    <h1><%= t('.title') %></h1>
  </header>

  <%= render_list class: 'nav nav-tabs' do |li|
    if can? :new, SimplePages::Page
      li << [link_to(t('helpers.new'), new_page_path), { class: 'pull-right' }]
    end
  end %>

  <%= render 'table', pages: @pages %>

  <footer>
    <%= render 'application/pagination', collection: @pages %>
  </footer>
</article>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
simple-pages-rails-0.7.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.6.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.5.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.4.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.3.1 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.3.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.2.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.1.0 app/views/simple_pages/pages/index.html.erb
simple-pages-rails-0.0.1 app/views/simple_pages/pages/index.html.erb