Browse Source

Fix expression.

master
Ben Kurtovic 8 years ago
parent
commit
e03d5f3e79
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/index.mako

+ 1
- 1
templates/index.mako View File

@@ -1,6 +1,6 @@
<%include file="/support/header.mako" args="title='TIF Calculator'"/> <%include file="/support/header.mako" args="title='TIF Calculator'"/>
<form action="${request.script_root}" method="get"> <form action="${request.script_root}" method="get">
% if result["title"]:
% if "title" in result:
<input type="text" name="title" value="${query['page'].title if 'page' in query else query['title'] | h}" /> <input type="text" name="title" value="${query['page'].title if 'page' in query else query['title'] | h}" />
% else: % else:
<input type="text" name="title" /> <input type="text" name="title" />


Loading…
Cancel
Save