Sha256: e1f6c4cd23a0c4c3fa3d9559a19e9bc720b64c716784409bdc951e3a99f0b022

Contents?: true

Size: 928 Bytes

Versions: 5

Compression:

Stored size: 928 Bytes

Contents

<h1>Index - Snippets Sample</h1>

<h2>Reviews</h2>
<h3>ERB code</h3>
<%= item_tag :div, scope: true, type: :review do %>
  <%= item_tag :span, 'Snipp', prop: :itemreviewd %>
  Reviewed by <%= item_tag :span, '@yulii', prop: :reviewer %> on
  <%= item_tag :time, 'April 1', prop: :dtreviewd, datetime: "2013-04-01" %>.
  <%= item_tag :span, 'Review summary...', prop: :summary %>
  <%= item_tag :span, 'Review description...', prop: :description %>
  Rating: <%= item_tag :span, '4.5', prop: :rating %>
<% end %>
<h3>Output code</h3>
<div itemscope itemtype="http://data-vocabulary.org/Review">
  <span itemprop="itemreviewed">Snipp</span>
  Reviewed by <span itemprop="reviewer">@yulii</span> on
  <time itemprop="dtreviewed" datetime="2013-04-01">April 1</time>.
  <span itemprop="summary">Review summary...</span>
  <span itemprop="description">Review description...</span>
  Rating: <span itemprop="rating">4.5</span>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
snipp-0.1.4 app/views/snipp/index.html.erb
snipp-0.1.3 app/views/snipp/index.html.erb
snipp-0.1.2 app/views/snipp/index.html.erb
snipp-0.1.1 app/views/snipp/index.html.erb
snipp-0.1.0 app/views/snipp/index.html.erb