summaryrefslogtreecommitdiff
path: root/templates/pages/add.mako
blob: 737d4851139e9b0bf95aacfb7f1e0bb5cad4fa9f (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()}
    <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>