Sha256: c644190b95dd474b6532218301a683deca38478c75fdbfff78d95671e10f3de4

Contents?: true

Size: 251 Bytes

Versions: 28

Compression:

Stored size: 251 Bytes

Contents

- content_for :demo do
  %h1 This is content yielded from a content_for

.demo= yield_content :demo

- content_for :demo2 do |fname, lname|
  %h1 This is content yielded with name #{fname + " " + lname}

.demo2= yield_content :demo2, "Johnny", "Smith"

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
padrino-helpers-0.9.15 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.14 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.13 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.12 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.11 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.10 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.9 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.7 test/fixtures/markup_app/views/content_for.haml