As Lastoff likes to resign even when he wants to play, let's move the resign button below the board
1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Tue Dec 01 09:40:54 2009 +0100
1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Tue Dec 01 22:07:29 2009 +0100
1.3 @@ -167,10 +167,6 @@
1.4 </select>
1.5 <input type="submit" value="${bundle.MOVE}" />
1.6 </form>
1.7 - <form action="/games/${doc.game.id.@id}/move">
1.8 - <input type="hidden" name="type" value="resign" readonly="readonly"/>
1.9 - <input type="submit" value="${bundle.RESIGN}" />
1.10 - </form>
1.11 </#if>
1.12 <p>
1.13 <#if format?? && format = "text">
1.14 @@ -209,6 +205,13 @@
1.15 ${bundle.BOARD_IMAGE}
1.16 <a href="/games/${doc.game.id.@id}?format=text">${bundle.BOARD_TEXT}</a>
1.17 </#if>
1.18 + <p>
1.19 + <#if play>
1.20 + <form action="/games/${doc.game.id.@id}/move">
1.21 + <input type="hidden" name="type" value="resign" readonly="readonly"/>
1.22 + <input type="submit" value="${bundle.RESIGN}" />
1.23 + </form>
1.24 + </#if>
1.25
1.26 <#macro printMove item>
1.27 <#if item.@index = doc.game.@currentMove>