Merge: Preselecting direction N for white and S for black
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 23 Sep 2009 16:30:00 +0200
changeset 1109c989997d6bb
parent 108 41905c272ad9
parent 109 d2140ee1c682
child 111 6f1b8bbab6fa
Merge: Preselecting direction N for white and S for black
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Tue Sep 22 23:08:17 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Wed Sep 23 16:30:00 2009 +0200
     1.3 @@ -94,8 +94,8 @@
     1.4                <select name="direction">
     1.5                    <option>E</option>
     1.6                    <option>W</option>
     1.7 -                  <option>N</option>
     1.8 -                  <option>S</option>
     1.9 +                  <option <#if doc.game.id.@status = "whiteMove">selected="true"</#if>>N</option>
    1.10 +                  <option <#if doc.game.id.@status = "blackMove">selected="true"</#if>>S</option>
    1.11                </select>
    1.12                <select name="direction-next">
    1.13                    <option></option>