Show the nice name and the Sone name, don’t show the ID.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 14:26:07 +0000 (16:26 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 14:26:07 +0000 (16:26 +0200)
src/main/resources/templates/login.html

index 7f300b8..f44cbf2 100644 (file)
@@ -7,7 +7,7 @@
                        <select name="sone-id">
                                <option disabled="disabled"><%= Page.Login.Option.NoSone|l10n|html></option>
                                <%foreach sones sone>
-                                       <option value="<% sone.id|html>"><% sone.name|html> (<% sone.id|html>)</option>
+                                       <option value="<% sone.id|html>"><% sone.niceName|html> (<% sone.name|html>)</option>
                                <%/foreach>
                        </select>
                        <button type="submit">Select</button>