<div id="header"> <h1> ${photo.name} </h1> <a href="#" target="#editphoto" REL="ibox?ibox_type=1&height=300&width=500" title="Edit photo" py:if="not tg.identity.anonymous">Edit photo</a> </div>