Sha256: 1cf29917f45c8c2e4bd89832e08229b6e7d084bf45a285bc205eebaccff53c62

Contents?: true

Size: 749 Bytes

Versions: 9

Compression:

Stored size: 749 Bytes

Contents

<% if experiment.has_winner? %>
  <form action="<%= url "/reopen/#{experiment.name}" %>" method='post' onclick="return confirmReopen()">
    <input type="submit" value="Reopen Experiment">
  </form>
<% end %>
<% if experiment.start_time %>
  <form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confirmReset()">
    <input type="submit" value="Reset Data">
  </form>
<% else%>
  <form action="<%= url "/start/#{experiment.name}" %>" method='post'>
    <input type="submit" value="Start">
  </form>
<% end %>
<form action="<%= url "/#{experiment.name}" %>" method='post' onclick="return confirmDelete()">
  <input type="hidden" name="_method" value="delete"/>
  <input type="submit" value="Delete" class="red">
</form>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
split-1.3.0 lib/split/dashboard/views/_controls.erb
split-1.2.1 lib/split/dashboard/views/_controls.erb
split-1.2.0 lib/split/dashboard/views/_controls.erb
split-1.1.0 lib/split/dashboard/views/_controls.erb
split-1.0.0 lib/split/dashboard/views/_controls.erb
split-0.8.0 lib/split/dashboard/views/_controls.erb
split-0.7.3 lib/split/dashboard/views/_controls.erb
split-0.7.2 lib/split/dashboard/views/_controls.erb
split-0.7.1 lib/split/dashboard/views/_controls.erb