Sha256: 51ebe858d192bf933360010e5bb28f743447305535de113bef21f8223afbeb11

Contents?: true

Size: 597 Bytes

Versions: 18

Compression:

Stored size: 597 Bytes

Contents

<div class="row">
  <div class="col-md-9">
    <h1>Mustache Rendering</h1>
    <p>
      You can render mustache files by using <code>&lt;<%= "%= render_mustache 'examples/mustache/template', { some: 'value' } %" %>&gt;</code>.
    </p>
    <p>
      Place your files into <code>app/views</code> and reference it relatively.  You don't need the <code>.mustache</code> file suffix.
    </p>
    <p>
      Here we render <code>examples/mustache/template</code>:
    </p>

    <div class="well">
      <%= render_mustache 'examples/mustache/template', { some: 'value' } %>
    </div>
  </div>
</div>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
mvpkit-0.8.1 project/app/views/examples/mustache.html.erb
mvpkit-0.8.0 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.15 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.14 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.13 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.12 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.11 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.10 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.9 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.8 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.7 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.6 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.5 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.4 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.3 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.2 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.1 project/app/views/examples/mustache.html.erb
minimum_viable_product-0.7.0 project/app/views/examples/mustache.html.erb