Commit 810cd7a2 authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

Fix NoReverseMatch in patch template

parent 81c5a915
...@@ -122,7 +122,7 @@ function toggle_headers(link_id, headers_id) ...@@ -122,7 +122,7 @@ function toggle_headers(link_id, headers_id)
<tr> <tr>
<td>Ack:</td> <td>Ack:</td>
<td> <td>
<form action="{% url patchwork.views.patch patch=patch.id %}" <form action="{% url patchwork.views.patch.patch patch_id=patch.id %}"
method="post"> method="post">
<input type="hidden" name="action" value="act"/> <input type="hidden" name="action" value="act"/>
<input type="submit" value="Ack"/> <input type="submit" value="Ack"/>
...@@ -175,7 +175,7 @@ function toggle_headers(link_id, headers_id) ...@@ -175,7 +175,7 @@ function toggle_headers(link_id, headers_id)
<tr> <tr>
<td>Ack:</td> <td>Ack:</td>
<td> <td>
<form action="{% url patchwork.views.patch patch=patch.id %}" <form action="{% url patchwork.views.patch.patch patch_id=patch.id %}"
method="post"> method="post">
<input type="hidden" name="action" value="act"/> <input type="hidden" name="action" value="act"/>
<input type="submit" value="Ack"/> <input type="submit" value="Ack"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment