Commit 8568ad01 authored by 's avatar

Fixed up long int property handling.

parent d2cbeb74
...@@ -41,9 +41,14 @@ values and click "Save Changes". ...@@ -41,9 +41,14 @@ values and click "Save Changes".
</td> </td>
<td align="left" valign="top"> <td align="left" valign="top">
<!--#if "'w' in _['sequence-item'].get('mode', 'awd')"--> <!--#if "'w' in _['sequence-item'].get('mode', 'awd')"-->
<!--#if "type in ('int', 'long')"--> <!--#if "type == 'int'"-->
<input type="text" name="<!--#var id-->:<!--#var type-->" size="35" <input type="text" name="<!--#var id-->:<!--#var type-->" size="35"
value="<!--#if "hasProperty(id)"--><!--#var "'%d' % getProperty(id)" html_quote--><!--#/if-->"> value="<!--#if "hasProperty(id)"--><!--#var
"'%d' % getProperty(id)" html_quote--><!--#/if-->">
<!--#elif "type == 'long'"-->
<input type="text" name="<!--#var id-->:<!--#var type-->" size="35"
value="<!--#if "hasProperty(id)"--><!--#var
"('%s' % getProperty(id))[:-1]" html_quote--><!--#/if-->">
<!--#elif "type in ('float', 'date')"--> <!--#elif "type in ('float', 'date')"-->
<input type="text" name="<!--#var id-->:<!--#var type-->" size="35" <input type="text" name="<!--#var id-->:<!--#var type-->" size="35"
value="<!--#var "getProperty(id)" html_quote-->"> value="<!--#var "getProperty(id)" html_quote-->">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment