]> asedeno.scripts.mit.edu Git - bluechips.git/blob - bluechips/templates/spend/delete.mako
Expenditures can now be given a list of "tags"
[bluechips.git] / bluechips / templates / spend / delete.mako
1 <%inherit file="/base.mako"/>
2
3 <p>Are you sure you want to delete this expenditure?</p>
4
5 <form action="${h.url_for(controller='spend', action='destroy', id=c.expenditure.id)}" method="post">
6   ${h.auth_token_hidden_field()}
7   <table class="form">
8     <tr>
9       <th><label for="spender_id">Spender</label></th>
10       <td>${c.expenditure.spender.name}</td>
11     </tr>
12     <tr>
13       <th><label for="amount">Amount</label></th>
14       <td>${c.expenditure.amount}</td>
15     </tr>
16     <tr>
17       <th><label for="date">Date</label></th>
18       <td>${c.expenditure.date.strftime('%m/%d/%Y')}</td>
19     </tr>
20     <tr>
21       <th><label for="description">Description</label></th>
22       <td>${c.expenditure.description}</td>
23     </tr>
24     <tr>
25       <td colspan="2">
26         ${h.submit('delete', 'Delete', class_="submitbutton")}
27         ${h.submit('cancel', 'Cancel', class_="submitbutton")}
28       </td>
29     </tr>
30   </table>
31 </form>