Sha256: 9c835ab54a3e4a935104c32d21936db224ff4ecdcaf2452a417e1b32fe93c98e

Contents?: true

Size: 956 Bytes

Versions: 5

Compression:

Stored size: 956 Bytes

Contents

.yui-b.sidebar
  = render :partial => 'shared/admin_nav'
  
  -box do
    %h3=:search.l
    = form_for @search, :url => tags_path, :html => {:class => "MainForm"} do |f|

      %label= :name.l
      = f.text_field :name_starts_with

      %p= f.submit :search.l
  
#yui-main
  .yui-b
    -box do 
      %h3=:tags.l

      %table{:width=>"100%"}
        %tr 
          %th
            =sort_link @search, :name, :name.l            
          %th 
            =sort_link @search, :taggings_count, :taggings.l
          %th=:actions.l

        - for tag in @tags
          %tr
            %td= tag.name
            %td= tag.taggings.size	
            %td
              = link_to :show.l, tag_path(tag)
              | 
              = link_to :edit.l, edit_tag_path(tag)
              |
              = link_to :destroy.l, tag_path(tag), :confirm => :are_you_sure.l, :method => :delete
              

    .pagination=paginate @tags if @tags.total_count > 1

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/tags/manage.html.haml
community_engine-2.3.1 app/views/tags/manage.html.haml
community_engine-2.3.0 app/views/tags/manage.html.haml
community_engine-2.1.0 app/views/tags/manage.html.haml
community_engine-2.0.0 app/views/tags/manage.html.haml