We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6bd130 commit 565023bCopy full SHA for 565023b
app/templates/v2_patch.html
@@ -63,17 +63,10 @@ <h2>Confirmation</h2>
63
64
<form action="" method="post" name="project">
65
{{ form.hidden_tag() }}
66
-
67
- {% for x in form.confirmation %}
68
- <div class="form-check">
69
- <label class="form-check-label">
70
- {{ x }} {{ x.data }}
71
- </label>
72
- </div>
+ {% for choice, label in form.confirmation.choices %}
+ <button type="submit" class="btn {% if choice == form.confirmation.data %}btn-primary focus active{%else%}btn-outline-secondary{% endif %}" name="confirmation" value="{{ choice }}">{{ label }}</button>
73
{% endfor %}
74
75
- <button type="submit" class="btn btn-primary">Submit</button>
76
- </form>
+ </form>
77
78
<h2>Runs</h2>
79
<table class="table table-sm">
0 commit comments