representative_block.haml 309 Bytes
Newer Older
1
2
3
4
5
6
7
8
%td<
  %a{'href': "{% url 'legislature:representative_view_by_name' representative.full_name %}"} 
    %img{'src':'={representative.photo}'}/

%td<
  %a{'href': "{% url 'legislature:representative_view_by_name' representative.full_name %}"} 
    ={representative.full_name} [={representative.country.code}]