Sha256: 52c8b151bd9098b4327b2ae68acad5e78a16bc394a843ec53d48f5d6789f0b52
Contents?: true
Size: 1.56 KB
Versions: 10
Compression:
Stored size: 1.56 KB
Contents
= content_for :page_title do = am_title t('.title_asset_categories') = content_for :page_actions do = link_to(new_asset_category_path, class: 'btn') do %i.icon-plus-sign = t('.new_asset_category') .row-fluid .span10 - if @asset_categories.empty? = t('.no_results') - else %table.table.table-striped.table-bordered.table-hover.table-condensed %thead %tr %th= t('.id') %th= t('.asset_category_title') %th.actions= t('.actions') %tbody - @asset_categories.each do |asset_category| %tr %td.id= asset_category.id %td= asset_category.title %td.actions %ul %li= show_resource_link(asset_category) %li= edit_resource_link(asset_category) %li= delete_resource_link(asset_category) = render partial: 'asset_manager/partials/pagination_status', locals: { collection: @asset_categories, total_records: @total_records } = paginate @asset_categories, theme: 'bootstrap' .span2 .well.filters .filters-title= t('labels.filters') = form_for @search, url: asset_categories_path, html: { method: :get, style: 'margin-bottom: 0' } do |f| %div = f.label :translations_title_contains, t('.title_contains') = f.text_field :translations_title_contains %div %button.btn{ type: 'submit', name: 'commit' } %i.icon-search = t('.search') = link_to t('.clear'), asset_categories_path
Version data entries
10 entries across 10 versions & 1 rubygems