Sha256: 88223d2d36ccbb3c647db17dafb1f80645af02ed78a9b9bc9503f16b1b3c4364

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

= 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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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