Sha256: 06cfcc2fc023a4f04ec083344a213d9360a72315057d5583a4890fae83f133bc

Contents?: true

Size: 350 Bytes

Versions: 67

Compression:

Stored size: 350 Bytes

Contents

- list_tag = local_assigns.fetch(:ordered?, false) ? :ol : :ul
= content_tag(list_tag, class: "list--block") do
  - if data.empty?
    %li
      %p= t('no_content.empty_list.members.description', letter: params[:letter])
  - else 
    = render partial: "pugin/#{item_type}/list/list", collection: local_assigns.fetch(:data, []), as: item_type.to_sym

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
pugin-1.10.10 app/views/pugin/elements/_list.html.haml
pugin-1.10.9 app/views/pugin/elements/_list.html.haml
pugin-1.10.8 app/views/pugin/elements/_list.html.haml
pugin-1.10.7 app/views/pugin/elements/_list.html.haml
pugin-1.10.6 app/views/pugin/elements/_list.html.haml
pugin-1.10.5 app/views/pugin/elements/_list.html.haml
pugin-1.10.4 app/views/pugin/elements/_list.html.haml
pugin-1.10.3 app/views/pugin/elements/_list.html.haml
pugin-1.10.2 app/views/pugin/elements/_list.html.haml
pugin-1.10.1 app/views/pugin/elements/_list.html.haml
pugin-1.10.0 app/views/pugin/elements/_list.html.haml
pugin-1.9.7 app/views/pugin/elements/_list.html.haml
pugin-1.9.6 app/views/pugin/elements/_list.html.haml
pugin-1.9.5 app/views/pugin/elements/_list.html.haml
pugin-1.9.4 app/views/pugin/elements/_list.html.haml
pugin-1.9.3 app/views/pugin/elements/_list.html.haml
pugin-1.9.2 app/views/pugin/elements/_list.html.haml
pugin-1.9.1 app/views/pugin/elements/_list.html.haml
pugin-1.9.0 app/views/pugin/elements/_list.html.haml
pugin-1.8.9 app/views/pugin/elements/_list.html.haml