Changeset 2951
- Timestamp:
- 02/22/07 17:10:31 (2 years ago)
- Files:
-
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/controllers/transactions.py (modified) (1 diff)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/templates/transactions/edit.html (added)
- sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/tests/functional/test_transactions.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/controllers/transactions.py
r2938 r2951 51 51 """GET /id;edit: Form to edit an existing item.""" 52 52 # url_for('edit_transaction', id=ID) 53 pass 53 c.tx = g.tx_cache[id] 54 c.tx_id = id 55 return render_response('/transactions/edit.html') sandbox/mscott/SchevoPylonsNav/trunk/schevopylonsnav/tests/functional/test_transactions.py
r2950 r2951 21 21 # Call it to get the transaction. 22 22 response = response.follow() 23 # Find the edit link.23 # Find the edit button. 24 24 assert 'Edit' in response 25 25 # Click it. 26 form = response.forms[0] 27 response = form.submit()
