Sha256: 28c68dc31068d3420b56255e6735fda78daa1d8df4f26c005b959a645d8ebba6

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

Stored size: 351 Bytes

Contents

- # for layout_render.rb, locals: items
h1 Markup examples

#content
  p This example shows you how a basic Slim file looks like.

  - unless items.empty?
    table
      - items.each do |item|
        tr
          td.name = item.name
          td.price = item.price
  - else
    p
     | No items found.  Please add some inventory.
       Thank you!

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nyara-0.1.pre.2 spec/performance/page.slim
nyara-0.1.pre.1 spec/performance/page.slim
nyara-0.1.pre.0 spec/performance/page.slim
nyara-0.0.1.pre.9 spec/performance/page.slim
nyara-0.0.1.pre.8 spec/performance/page.slim