diff options
author | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-04-12 11:34:57 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2011-04-14 14:47:08 +0800 |
commit | e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9 (patch) | |
tree | fbec5ad2b4d4e27ccb725b20546428e4a14f855b /templates | |
parent | c50379dda534564eb5701d8c007910bc1ee7e066 (diff) | |
download | patchwork-e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9.tar patchwork-e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9.tar.gz |
views: Refactor generic_list() to make it less complicated
When a form is submitted it now delegates to separate processing
functions according to the action. Apart from being more readable it's
now a lot easier to add extra forms for processing lists of patches.
Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/patchwork/patch-list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index 43e0550..770f005 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -186,7 +186,7 @@ <tr> <td></td> <td> - <input type="submit" name="action" value="Update"/> + <input type="submit" name="action" value="{{patchform.action}}"/> </td> </tr> </table> |