Skip to content

Commit b1bafff

Browse files
authored
fix: Add value attributes back to buttons to make the logic work (ietf-tools#4617)
1 parent 160ca92 commit b1bafff

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ietf/templates/liaisons/detail.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,10 @@ <h1>
229229
</a>
230230
{% endif %}
231231
{% if liaison.state.slug == 'pending' and can_edit %}
232-
<button class="btn btn-primary" type="submit" name="approved">Approve</button>
232+
<button class="btn btn-primary" type="submit" value="Approve" name="approved">Approve</button>
233233
<button class="btn btn-primary"
234234
type="submit"
235+
value="Mark as Dead"
235236
name="dead">Mark as dead</button>
236237
{% endif %}
237238
{% if liaison.state.slug == 'posted' and user|has_role:"Secretariat" %}
@@ -243,7 +244,8 @@ <h1>
243244
{% if liaison.state.slug == 'dead' and can_edit %}
244245
<button class="btn btn-primary"
245246
type="submit"
247+
value="Resurrect"
246248
name="resurrect">Resurrect</button>
247249
{% endif %}
248250
{% if liaison.state.slug == 'pending' and can_edit or liaison.state.slug == 'dead' and can_edit %}</form>{% endif %}
249-
{% endblock %}
251+
{% endblock %}

0 commit comments

Comments
 (0)