]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/patch-list.html
tests/bundle: Check for form errors during bundle updates
[patchwork] / templates / patchwork / patch-list.html
index 43e05503429f09af61999dfd4706c7a7545bb5cf..723c4a0d9a4f18c9d2cb36a0e19da968aa6258ff 100644 (file)
   </tr>
  </thead>
 
-{% if page %}
+{% if page.paginator.count %}
  <tbody>
  {% for patch in page.object_list %}
   <tr id="patch_row:{{patch.id}}" class="{% cycle 'odd' 'even' %}">
      <tr>
       <td></td>
       <td>
-       <input type="submit" name="action" value="Update"/>
+       <input type="submit" name="action" value="{{patchform.action}}"/>
       </td>
      </tr>
     </table>