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