Commit a1e63e39 authored by Jim Fulton's avatar Jim Fulton

De-dtmlified type select list.

parent 437973e3
...@@ -36,6 +36,12 @@ values and click "Save Changes". ...@@ -36,6 +36,12 @@ values and click "Save Changes".
<!--#if "type in ('string', 'int', 'long', 'float', 'date')"--> <!--#if "type in ('string', 'int', 'long', 'float', 'date')"-->
<input type="text" name="<!--#var id-->:<!--#var type-->" size="35" <input type="text" name="<!--#var id-->:<!--#var type-->" size="35"
value="<!--#var "_[id]"-->"> value="<!--#var "_[id]"-->">
<!--#elif "type=='string'"-->
<input type="text" name="<!--#var id-->:string" size="35"
value="<!--#var "_[id]" html_quote-->">
<!--#elif "type=='boolean'"-->
<input type="checkbox" name="<!--#var id-->:boolean" size="35"
<!--#if "_[id]"-->CHECKED<!--#/if-->>
<!--#elif "type=='tokens'"--> <!--#elif "type=='tokens'"-->
<input type="text" name="<!--#var id-->:tokens" size="35" <input type="text" name="<!--#var id-->:tokens" size="35"
value="<!--#in "_[id]"--><!--#var sequence-item--> <!--#endin-->"> value="<!--#in "_[id]"--><!--#var sequence-item--> <!--#endin-->">
...@@ -93,12 +99,15 @@ button. ...@@ -93,12 +99,15 @@ button.
<th align="left" valign="top">Type</th> <th align="left" valign="top">Type</th>
<td align="left" valign="top"> <td align="left" valign="top">
<select name="type"> <select name="type">
<!--#in "('int', 'float', 'long', 'string', <option>boolean</option>
'lines', 'text', 'date','tokens', <option>date</option>
)"--> <option>float</option>
<option<!--#if "_['sequence-item']=='string'"--> selected<!--#/if <option>int</option>
-->><!--#var sequence-item--> <option>lines</option>
<!--#/in--> <option>long</option>
<option SELECTED>string</option>
<option>text</option>
<option>tokens</option>
</select> </select>
</td> </td>
</tr> </tr>
......
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