Sha256: 75ca1eb74e0e9a4ba9ad3e8ddad0281f06a370948e7eaa6b45322613e1dee391
Contents?: true
Size: 1004 Bytes
Versions: 2
Compression:
Stored size: 1004 Bytes
Contents
- type ||= index .categories-widget .categories-widget-label= t('.label') .action-links .edit= link_to t('.edit'), '#', :class => 'btn btn-mini' .done= link_to t('.done'), '#', :class => 'btn btn-mini' .categories.read .category.all{:class => params[:category].blank?? 'active' : nil} = link_to t('.all'), :category => nil - @site.categories.of_type(type).each do |category| = render :partial => 'admin/cms/categories/show', :object => category, :locals => { :read => true } .categories.editable - @site.categories.of_type(type).each do |category| = render :partial => 'admin/cms/categories/show', :object => category = form_for :category, :url => admin_cms_site_categories_path(@site), :remote => true, :html => {:id => 'new_category'} do |form| = form.hidden_field :categorized_type, :value => type .input-append = form.text_field :label, :placeholder => t('.add_placeholder') %button.btn.btn-mini= t('.add')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfortable_mexican_sofa-1.11.2 | app/views/admin/cms/categories/_index.html.haml |
comfortable_mexican_sofa-1.11.1 | app/views/admin/cms/categories/_index.html.haml |