Sha256: fcdc9c8119ac0ca1ea603269e7c468db3574accde012d6a5a90aa8345cc70f89
Contents?: true
Size: 1.14 KB
Versions: 8
Compression:
Stored size: 1.14 KB
Contents
.admin .row = render 'dune/admin/layouts/menu' section.content.large-12.columns .text-right = link_to t('.new'), new_press_asset_path, class: 'button' .data-table = paginate @press_assets - if @press_assets.empty? = t('.no_press_assets') - else table thead tr th style="width: 200px;" = t('.title') th= t('.url') th= t('.image') th tbody - @press_assets.each do |press_asset| tr id=press_asset.id td = press_asset.title td = link_to(press_asset.url, target: 'blank') td = image_tag(press_asset.image.thumb.url, width: 100) td .pull-right = link_to t('.edit'), edit_press_asset_path(press_asset), class: 'button tiny' | = link_to t('.destroy'), press_asset_path(press_asset), method: :delete, confirm: t('words.confirm'), class: 'button tiny alert' = paginate @press_assets
Version data entries
8 entries across 8 versions & 1 rubygems