1 <%inherit file="/base.mako"/>
3 <form action="${h.url_for(controller='transfer', action='update', id=c.transfer.id)}" method="post">
6 <th><label for="debtor_id">From</label></th>
7 <td>${h.select('debtor_id', c.transfer.debtor_id, c.users)}</td>
10 <th><label for="creditor_id">To</label></th>
11 <td>${h.select('creditor_id', c.transfer.creditor_id, c.users)}</td>
14 <th><label for="amount">Amount</label></th>
15 <td>${h.currency('amount', c.transfer.amount, size=8)}</td>
18 <th><label for="date">Date</label></th>
20 if c.transfer.date is None:
23 date_string = c.transfer.date.strftime('%m/%d/%Y')
25 <td>${h.text('date', date_string, size=16, class_='datepicker')}</td>
28 <th><label for="description">Description</label></th>
29 <td>${h.text('description', c.transfer.description, size=64)}</td>
33 <input type="submit" value="Submit" />