Sha256: aed882a1ccfe8a5f2a4605307db39e80e6e8067aa3ded05bba22d3cfcaf0dd43

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

- list_tag = local_assigns.fetch(:ordered?, false) ? :ol : :ul
= content_tag(list_tag, class: "list") do
  - if data.empty?
    %li.list__item
      %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: :data

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pugin-0.6.2 app/views/pugin/elements/_list.html.haml
pugin-0.6.1 app/views/pugin/elements/_list.html.haml
pugin-0.6.0 app/views/pugin/elements/_list.html.haml
pugin-0.5.5.pre app/views/pugin/elements/_list.html.haml