Use correct filter parameter.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 19 Dec 2012 16:22:24 +0000 (17:22 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 19 Dec 2012 16:22:27 +0000 (17:22 +0100)
Since the filter parser already expands the given values, the key/value
distinction of MatchFilter is redundant.

src/main/resources/templates/editProfile.html

index 6488cc7..ddc08a9 100644 (file)
                        </li>
                        <%foreach currentSone.allImages image>
                                <li>
-                                       <input type="radio" name="avatarId" value="<%image.id|html>"<%if avatarId|match key=image.id> checked="checked"<%/if>/>
+                                       <input type="radio" name="avatarId" value="<%image.id|html>"<%if avatarId|match value=image.id> checked="checked"<%/if>/>
                                        <div class="post-avatar"><% image|image-link max-width==48 max-height==48 mode==enlarge title=image.title></div>
                                </li>
                        <%/foreach>