1 <%inherit file="/base.mako"/>
3 <p>Are you sure you want to delete this expenditure?</p>
5 <form action="${h.url_for(controller='spend', action='destroy', id=c.expenditure.id)}" method="post">
6 ${h.auth_token_hidden_field()}
9 <th><label for="spender_id">Spender</label></th>
10 <td>${c.expenditure.spender.name}</td>
13 <th><label for="amount">Amount</label></th>
14 <td>${c.expenditure.amount}</td>
17 <th><label for="date">Date</label></th>
18 <td>${c.expenditure.date.strftime('%m/%d/%Y')}</td>
21 <th><label for="description">Description</label></th>
22 <td>${c.expenditure.description}</td>
26 ${h.submit('delete', 'Delete', class_="submitbutton")}
27 ${h.submit('cancel', 'Cancel', class_="submitbutton")}