Ignore:
Timestamp:
11/01/16 15:10:39 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Commit tweak to city selection; on allocate-from-freeblock, preselect the
city of the parent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/assign.tmpl

    r878 r892  
    4242<td>
    4343<select name="city">
     44<TMPL_IF preselected>
     45<TMPL_LOOP NAME=citylist>
     46        <option<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=city></option></TMPL_LOOP>
     47<TMPL_ELSE>
    4448        <option selected="selected">-</option>
    4549<TMPL_LOOP NAME=citylist>
    4650        <option><TMPL_VAR NAME=city></option></TMPL_LOOP>
     51</TMPL_IF>
    4752</select>
    4853&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
Note: See TracChangeset for help on using the changeset viewer.