1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Fri Sep 04 18:01:01 2009 +0200
1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Fri Sep 04 20:26:48 2009 +0200
1.3 @@ -7,8 +7,19 @@
1.4 <body>
1.5 <h1>Game</h1>
1.6 <h3>${doc.game.id.@white} vs. ${doc.game.id.@black}</h3>
1.7 +
1.8 + <p>
1.9 + <a href="/games/${doc.game.id.@id}">Reload</a>
1.10 + </p>
1.11 +
1.12 + <#if message?? >
1.13 + <p>
1.14 + <span style="color: red">${message}</span>
1.15 + </p>
1.16 + </#if>
1.17 +
1.18 <#if user = doc.game.@currentPlayer >
1.19 - <form action="move">
1.20 + <form action="/games/${doc.game.id.@id}/move">
1.21 <input type="hidden" name="type" value="fence" readonly="readonly"/>
1.22 <select name="column">
1.23 <option>A</option>