Sha256: 45b2aa4d8fb5c0fd9e832ad43f759fd7e75f42245685c35a6675ebb485f0d586

Contents?: true

Size: 551 Bytes

Versions: 5

Compression:

Stored size: 551 Bytes

Contents

<!doctype html>
<html>
  <head>
    <title><%= document.title %></title>
  </head>
  <body>
    <h1>H1 from layout</h1>
    
    <% @var_from_layout_before = "VAR from layout before yield is OK!" %>
    
    <!-- Template content -->
    <%= yield %>
    <!-- /Template content -->

    <% @var_from_layout_after = "VAR from layout after yield is OK!" %>


    <h2>Partials in layout</h2>
    
    <h3>ERB</h3>
    <%= partial "test/erb", :locals => {:value => "value"} %>
    
    <h3>MD</h3>
    <%= partial "test/markdown" %>
    
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
html_mockup-0.8.4 test/project/layouts/test.html.erb
html_mockup-0.8.3 test/project/layouts/test.html.erb
html_mockup-0.8.2 test/project/layouts/test.html.erb
html_mockup-0.8.1 test/project/layouts/test.html.erb
html_mockup-0.8.0 test/project/layouts/test.html.erb