Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #252 from Krinkle/post-deleteall
Use POST for /runs/delete_all and add a confirmation form
- Loading branch information
Showing
5 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends 'layout/base.twig' %} | ||
{% import 'macros/helpers.twig' as helpers %} | ||
|
||
{% block title %} | ||
- Delete all runs | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h1>Delete all runs</h1> | ||
|
||
<form class="form-stacked" action="{{ url('run.deleteAll.submit') }}" method="post"> | ||
<div class="hero-unit"> | ||
<p>Are you sure you want to delete all runs?</p> | ||
<input class="btn btn-large btn-danger" type="submit" value="Delete all" /> | ||
</div> | ||
</form> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters