]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/spend/index.mako
Removed 'Delete' links from lists of expenditures / transfers
[bluechips.git] / bluechips / templates / spend / index.mako
index 5d2ee103e8922dc2d68c42fe0924d2d9c3c9bd11..9db5cb8804bd12041f658486f2b8488554507dc2 100644 (file)
       </tr>
     % endfor
     <tr>
+      <td></td>
       <td colspan="2">
         ${h.submit(None, 'Submit', class_="submitbutton")}
+        %if c.expenditure.id:
+       <input type="button" value="Delete" onClick="window.location.href='${h.url_for(controller='spend', action='delete', id=c.expenditure.id)}'">
+       %endif
       </td>
     </tr>
   </table>