<%= link_to root_path do %> « Experiments <% end %>
<%= @experiment.description %>
<% end %>Participant | Variant | Converted | Started |
---|---|---|---|
<%= field_test_participant_link(membership) %> | <%= membership.variant %> |
<% converted = false %>
<% @experiment.goals.each do |goal| %>
<% if @events[[membership.id, goal]] %>
<% converted = true %>
✓
<% if @experiment.multiple_goals? %>
<%= goal.titleize %>
<% end %>
<% end %>
<% end %>
<% if !converted && membership.try(:converted) %>
✓
<% end %>
|
<% if membership.created_at > 1.day.ago %> <%= time_ago_in_words(membership.created_at, include_seconds: true) %> ago <% else %> <%= membership.created_at.to_formatted_s(:short) %> <% end %> |
<% unless @page == 1 %> <%= link_to experiment_path(@experiment.id, page: @page - 1) do %> « Prev <% end %> <% end %> <% if @memberships.size == @per_page %> <%= link_to experiment_path(@experiment.id, page: @page + 1) do %> Next » <% end %> <% end %>