Sha256: 9385434dda725e0fb70e39a37c0a5942d4c1e80864edc9f169b8a0b6e79869ed
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
<h2><%=h experiment.name %> <span class="type">(<%= experiment.class.friendly_name %>)</span></h2> <%= experiment.description.to_s.split(/\n\s*\n/).map { |para| %{<p class="description">#{h para}</p>} }.join %> <%= render Vanity.template(experiment.type), experiment: experiment %> <p class="meta">Started <%= experiment.created_at.strftime("%a, %b %-d") %> <%= " | Completed #{experiment.completed_at.strftime("%a, %b %-d")}" unless experiment.active? %></p>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vanity-1.0.0 | lib/vanity/templates/_experiment.erb |
vanity-0.4.0 | lib/vanity/templates/_experiment.erb |