Sha256: b8690309ccca0684daf98f8ebb9d0cdc5b2944245678f58c345fd19d1c795dd0

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

.yui-b
  = render :partial => 'shared/admin_nav'
  
#yui-main
  .yui-b
    -box do 
      %h3= :homepage_features.l
      = link_to :new_homepage_feature.l, new_homepage_feature_path 

      %table{:width=>"100%"}
        %tr
          %th= :date_title.l
          %th= :title.l
          %th= :description.l
          %th= :image.l
          %th= :actions.l

        - for homepage_feature in @homepage_features
          %tr
            %td=h I18n.l(homepage_feature.created_at, :format => :short_published_date)
            %td
              %a{:href=>"#{h homepage_feature.url}"}=h homepage_feature.title
            %td=h truncate(homepage_feature.description, :length => 250)
            %td= image_tag homepage_feature.image.url(:thumb)
            %td
              = link_to :show.l, homepage_feature_path(homepage_feature)
              %br
              = link_to :edit.l, edit_homepage_feature_path(homepage_feature)
              %br
              = link_to :destroy.l, homepage_feature_path(homepage_feature), :confirm => :are_you_sure.l, :method => :delete

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/homepage_features/index.html.haml
community_engine-2.3.1 app/views/homepage_features/index.html.haml
community_engine-2.3.0 app/views/homepage_features/index.html.haml
community_engine-2.1.0 app/views/homepage_features/index.html.haml
community_engine-2.0.0 app/views/homepage_features/index.html.haml
community_engine-2.0.0.beta3 app/views/homepage_features/index.html.haml
community_engine-2.0.0.beta2 app/views/homepage_features/index.html.haml
community_engine-2.0.0.beta1 app/views/homepage_features/index.html.haml