Sha256: 3f8b663158d9145937efcaa04a66f627ccbdb5696f34f42c213493e70abeae94

Contents?: true

Size: 1.63 KB

Versions: 5

Compression:

Stored size: 1.63 KB

Contents

<section id="thumbnails">
  <div class="page-header">
    <h1>Thumbnails
      <small>bootstrap thumbnails helper</small>
    </h1>
  </div>

  <p>Thumbnails helpers wraps bootstrap thumbnails component.</p>

  <h3>Thumbnails</h3>

  <div class="bs-docs-example">
    <%= tns do %>
        <%= tn(3) do %>
            <h3>Title</h3>
            <p>Description</p>
        <% end %>
        <%= tn(3) do %>
            <h3>Title</h3>
            <p>Description</p>
        <% end %>
        <%= tn(3) do %>
            <h3>Title</h3>
            <p>Description</p>
        <% end %>
        <%= tn(3) do %>
            <h3>Title</h3>
            <p>Description</p>
        <% end %>
        <%= tn(6) do %>
            <h3>Title</h3>
            <p>Description</p>
        <% end %>
        <%= tn(6) do %>
            <h3>Title</h3>
            <p>Description</p>
        <% end %>
    <% end %>
  </div>


<pre class="prettyprint linenums lang-erb">
&lt;%= tns do %&gt;
  &lt;%= tn(3) do %&gt;
    &lt;h3&gt;Title&lt;/h3%&gt;
    &lt;p&gt;Description&lt;/p%&gt;
  &lt;% end %&gt;
  &lt;%= tn(3) do %&gt;
    &lt;h3&gt;Title&lt;/h3%&gt;
    &lt;p&gt;Description&lt;/p%&gt;
  &lt;% end %&gt;
  &lt;%= tn(3) do %&gt;
    &lt;h3&gt;Title&lt;/h3%&gt;
    &lt;p&gt;Description&lt;/p%&gt;
  &lt;% end %&gt;
  &lt;%= tn(3) do %&gt;
    &lt;h3&gt;Title&lt;/h3%&gt;
    &lt;p&gt;Description&lt;/p%&gt;
  &lt;% end %&gt;
  &lt;%= tn(6) do %&gt;
    &lt;h3&gt;Title&lt;/h3%&gt;
    &lt;p&gt;Description&lt;/p%&gt;
  &lt;% end %&gt;
  &lt;%= tn(6) do %&gt;
    &lt;h3&gt;Title&lt;/h3%&gt;
    &lt;p&gt;Description&lt;/p%&gt;
  &lt;% end %&gt;
&lt;% end %&gt;
</pre>

</section>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bs-helper-0.1.4 test/dummy/app/views/components/_thumbnails.html.erb
bs-helper-0.1.3 test/dummy/app/views/components/_thumbnails.html.erb
bs-helper-0.1.2 test/dummy/app/views/components/_thumbnails.html.erb
bs-helper-0.1.1 test/dummy/app/views/components/_thumbnails.html.erb
bs-helper-0.1.0 test/dummy/app/views/components/_thumbnails.html.erb