Sha256: 3fda7e32801b439b25156cb6ddbc7e9a5b06718f6c075eebe74feeb39b1abf02

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

<h3><%=vanity_h experiment.name %> <span class="type">(<%= experiment.class.friendly_name %>)</span></h3>
<%= experiment.description.to_s.split(/\n\s*\n/).map { |para| vanity_html_safe(%{<p class="description">#{vanity_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.5.0 lib/vanity/templates/_experiment.erb
vanity-1.5.0.beta lib/vanity/templates/_experiment.erb