Sha256: 0da59e9033eae0c2dc013d03b313132c0fa5f9291bd04a97ef96be872ed83095
Contents?: true
Size: 997 Bytes
Versions: 5
Compression:
Stored size: 997 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 => 'Add Category' %button.btn.btn-mini= t('.add')
Version data entries
5 entries across 5 versions & 1 rubygems