<%! from django.utils.translation import ugettext as _ %>
<section class="legend-container">
    <div class="legenditem">
        ${_("Legend")}
    </div>
    % for i in xrange(0,len(legend_list)):
    <%legend_title=legend_list[i]['name'] %>
    <%legend_image=legend_list[i]['image'] %>

    <div class="legenditem">
        ${legend_title}=<img src="${legend_image}" title=${legend_title}>
    </div>
    % endfor
</section>
