summaryrefslogtreecommitdiff
path: root/templates/pages/add.mako
blob: daf26f15a036066d779d187bc281312fcf9bb4e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<%inherit file="/page.mako" />

% if not form.valid:
    ERROR!
% endif

<form name="add_expense" method="post">
    ${form.render_utf8()}
    <input type="submit" />
</form>

<%def name="heading()">
    Add new expense
</%def>

<%def name="js()">
    ${parent.js()}
    <script type="text/javascript" src=${"/static/jqueryui/jquery-ui-1.8.2.js" | url}></script>
    <script type="text/javascript" src=${"/static/js/add.js" | url}></script>
</%def>

<%def name="style()">
    ${parent.style()}
    <link href=${"/static/jqueryui/css/ui-darkness/jquery-ui-1.8.2.custom.css" | url} rel="stylesheet" type="text/css" />
</%def>