Sort targets by name.
[WoTNS.git] / src / main / resources / templates / manage.html
index 3f50a8c..84927d1 100644 (file)
@@ -1,5 +1,6 @@
+<%include include/head.html>
 <h1>Manage “<%ownIdentity.nickname|html>”</h1>
-<%foreach ownIdentity.targets target>
+<%foreach ownIdentity.targets target|sort>
        <%first>
                <h2>Existing Targets</h2>
        <%/first>
@@ -21,3 +22,4 @@
        <input type="text" name="target" value=""/>
        <button type="submit" name="add">Add</button>
 </form>
+<%include include/tail.html>
\ No newline at end of file