Sha256: 2a17b944d77d54edf2c7fddc0a2727f95c8ce68bcbae7a31b317416bf3172a33

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

= render 'admin/redde/page_header'

- res_collection = instance_variable_get("@#{collection}")
- if res_collection.any?
  - cache [model_name.maximum(:updated_at).to_i] do
    %ol.sort-tree{ 'data-sort-tree' => '' }= render partial: 'tree_item', collection: res_collection, as: :item

  =# sort_tree sort_admin_categories_path, 2

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redde-0.3.0 app/views/admin/base/tree.html.haml