Sha256: f60d26993756d292dfff40233dd511517155d3ac636922dd571d9da683da1efa

Contents?: true

Size: 683 Bytes

Versions: 2

Compression:

Stored size: 683 Bytes

Contents

- if res_collection.any?
  %table.list{list_table_options}
    %colgroup
      %col.list__col
      - column_names.each do |column|
        %col.list__col
      %col.list__col._del
      %col.list__col
    %thead
      %tr
        %th.list__head
        - column_names.each_with_index do |column, index|
          - if ['position', 'visible'].include? column
            %th.list__head.list__head_empty
          - else
            %th.list__head= model_name.human_attribute_name(column)
        %th.list__head.list__head_del
        %th.list__head
    = yield

  = paginate res_collection, theme: 'redde'

- else
  %h3
    Ни одной #{tplural(model_name)} не найдено

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redde-0.3.8 app/views/admin/redde/_list.html.haml
redde-0.3.7 app/views/admin/redde/_list.html.haml