representative_block.haml 359 Bytes
Newer Older
1
2
3
%td<
  %a{'href': "{% url 'representatives.detail' ={representative.id} %}"} 
    %img{'src':'={representative.photo}'}/
4

5
6
7
8
9
%td<
  %a{'href': "{% url 'representatives.detail' ={representative.id} %}"} 
    ={representative.full_name} [={representative.country.code}]

%td<
10
  - for mandate in representative.mandate_set.all
11
    ={mandate.group.name}
12
    %br/a
13