Skip to content

Commit

Permalink
are you sure?
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlball committed Aug 24, 2024
1 parent 6c66897 commit 3fc630d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/app/views/analyses/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<th>Status</th>
<td><%= @analysis.status %>
<% if @analysis.status == 'started' %>
| <%= link_to("Stop Analysis", stop_analysis_path(@analysis)) %>
| <%= link_to "Soft Stop", soft_stop_analysis_path(@analysis) %>
| <%= link_to("Stop Analysis", stop_analysis_path(@analysis), onclick: "return confirm('Are you sure you want to stop the analysis?')") %>
| <%= link_to("Soft Stop", soft_stop_analysis_path(@analysis), onclick: "return confirm('Are you sure you want to stop the analysis?')") %>
<% end %>
</td>
</tr>
Expand Down

0 comments on commit 3fc630d

Please sign in to comment.