Sha256: 74821e0b813c65f1f25a3846e7f088b363208776826ef4a4fb7495a3a354cce1

Contents?: true

Size: 733 Bytes

Versions: 33

Compression:

Stored size: 733 Bytes

Contents

- if res_collection.any?
  %table.list{list_table_options}
    %colgroup
      %col.list__col
      - index_columns.each do |column|
        %col.list__col
      %col.list__col._del
      %col.list__col
    %thead
      %tr
        %th.list__head
        - index_columns.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' if res_collection.method_defined?(:total_pages)

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

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
redde-0.4.4 app/views/admin/redde/_list.html.haml
redde-0.4.3 app/views/admin/redde/_list.html.haml
redde-0.4.2 app/views/admin/redde/_list.html.haml
redde-0.4.1 app/views/admin/redde/_list.html.haml
redde-0.4.0 app/views/admin/redde/_list.html.haml
redde-0.3.39 app/views/admin/redde/_list.html.haml
redde-0.3.38 app/views/admin/redde/_list.html.haml
redde-0.3.37 app/views/admin/redde/_list.html.haml
redde-0.3.36 app/views/admin/redde/_list.html.haml
redde-0.3.35 app/views/admin/redde/_list.html.haml
redde-0.3.34 app/views/admin/redde/_list.html.haml
redde-0.3.33 app/views/admin/redde/_list.html.haml
redde-0.3.32 app/views/admin/redde/_list.html.haml
redde-0.3.31 app/views/admin/redde/_list.html.haml
redde-0.3.30 app/views/admin/redde/_list.html.haml
redde-0.3.29 app/views/admin/redde/_list.html.haml
redde-0.3.28 app/views/admin/redde/_list.html.haml
redde-0.3.27 app/views/admin/redde/_list.html.haml
redde-0.3.26 app/views/admin/redde/_list.html.haml
redde-0.3.25 app/views/admin/redde/_list.html.haml