Sha256: e2453135fa5dfbc4151a23e8268d487eac97a963e17e4ddf01307dbeb3a56abc

Contents?: true

Size: 944 Bytes

Versions: 24

Compression:

Stored size: 944 Bytes

Contents

- content_for :scripts do
  = javascript_include_tag 'jquery.quickSearch.js'
  :javascript
    $(function() {
      $('#quick-search').quickSearch({url: '#{forge_post_categories_path}'});
      FORGE.features.compact_form.init();
    });

%h1
  Post Categories
  = language_switcher(:post_categories)
%p.info Add, edit, and delete post categories using the tools on this page.

.inner-form.no-top.with-wide-sidebar
  .column.wide-side
    #form
      - if can?(:create, PostCategory)
        = render "form"
      - else
        You can't create post categories, but you can choose a post category on the right to edit.

  .column.main-small.last
    %h3 Existing Categories
    .explanation You can edit or delete your existing categories here.
    %ul.item-list-compact= render :partial => "post_category", :collection => @post_categories

  .spacer
= render :partial => "forge/shared/section_footer", :locals => {:items => @post_categories}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.9 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.8 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.7 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.6 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.5 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.4 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.18 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/post_categories/index.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/post_categories/index.html.haml