[% META title = 'Find' %]
-<p>Could not find: "[% c.req.param('coords') | html %]"</p>
+<p>Could not find a single planet matching: "[% searchterm | html %]"</p>
+
+[% IF planets %]
+<table>
+ <tr><th>Coords</th><th>Nick</th></tr>
+ [% FOR p IN planets %]
+ <tr>
+ <td><a href="[% c.uri_for('planet',p.id) %]">[% p.coords %]</a></td>
+ <td>[% p.nick %]</td>
+ </tr>
+ [% END %]
+</table>
+[% END %]
<p>The following syntaxes are possible:</p>
<ul>
<li>X:Y:Z tick (i.e. "1:1:1 37") Finds the planet that had the coords at the specified tick</li>
<li>X:Y:Z (i.e. "1:1:1") Finds the planet that had the coords at the current tick</li>
+ <li>A nick, with or without wildcard like %</li>
</ul>