Sha256: b5e1c36335449d95eff87dfdb89f279875323ad96e262f03042fcd201a8e987f

Contents?: true

Size: 255 Bytes

Versions: 83

Compression:

Stored size: 255 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

83 entries across 83 versions & 4 rubygems

Version Path
sinatra_more-0.3.43 test/fixtures/markup_app/views/content_for.haml
sinatra_more-0.3.42 test/fixtures/markup_app/views/content_for.haml
sinatra_more-0.3.41 test/fixtures/markup_app/views/content_for.haml
any_view-0.2.3 ./test/fixtures/content_for.haml
any_view-0.2.2 ./test/fixtures/content_for.haml
any_view-0.2.0 /Users/dneighman/Projects/any_view/test/fixtures/content_for.haml
padrino-helpers-0.9.6 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.5 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.4 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.3 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.2 test/fixtures/markup_app/views/content_for.haml
sinatra_more-0.3.40 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.1 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.9.0 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.8.5 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.8.4 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.8.3 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.8.2 test/fixtures/markup_app/views/content_for.haml
sinatra_more-0.3.39 test/fixtures/markup_app/views/content_for.haml
padrino-helpers-0.8.1 test/fixtures/markup_app/views/content_for.haml