anchor.diff:                              "</form>";
                       _ -> ""
                   end ++
  +                "<br>" ++
  +                captures(Captures) ++
                   html_page_footer([]);
           {error, Reason} ->
               formatted_error_page(
  
positive.code:       [{"?goto=" ++ ?SECTION_NEWGAME++ "&user=" ++ WithUsername,
          "Start new game"}]).
  
  chess_table(GameType, Board, Captures, IsRotated) ->
      Letters0 = "abcdefgh",
      Letters =
          if IsRotated -> lists:reverse(Letters0);
  
negative.code:                          C <- Letters] ++ td("")) ++
              chess_table_rows(GameType, Board, IsRotated) ++
              tr(td("") ++ [tag("td", ["class=crd_b"], tt([C])) ||
                               C <- Letters] ++ td(""))).
  
  captures([_ | _] = Captures) ->
      tag("table", ["cellpadding=0", "cellspacing=0"],
          case [chessman(F) || {?black, _} = F <- Captures] of
              [_ | _] = Black ->
                  tr(
                    tag("td", ["class=crd_l"], "&nbsp;") ++
                        tag("td", ["class=captures"],
                            lists:reverse(Black)));
              _ -> ""
          end ++
          case [chessman(F) || {?white, _} = F <- Captures] of
              [_ | _] = White ->
                  tr(
                    tag("td", ["class=crd_l"], "&nbsp;") ++
                        tag("td", ["class=captures"],
                            lists:reverse(White)));
              _ -> ""
          end);
  captures(_) -> "".
  