Sha256: 10ab6f7f36befeb8e1cc994dbbac27bf3cdabcf9acb2069a107192e5581a2015
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
<%= begin if block.template.present? partial_name = block.template.sub(/.erb$/, '') else partial_name = "pages/list/_default.html" end (erb partial_name.to_sym, locals: { block: block }, scope: self, layout: false) rescue Errno::ENOENT "<!-- failed to render list using template '#{block.template}', using default template -->"+ (partial "pages/list/default", locals: { block: block }, scope: self) end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aerogel-pages-1.4.16 | views/pages/block/_pages_list.html.erb |
aerogel-pages-1.4.14 | views/pages/block/_pages_list.html.erb |
aerogel-pages-1.4.12 | views/pages/block/_pages_list.html.erb |