representative_block.haml 293 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
%p.small-2.columns
  %img{'src':'={representative.photo}'}/
%p.small-4.columns
  = representative.full_name
  [ ={representative.country.code} ]

%p.small-6.columns
  - for mandate in representative.mandate_set.all
    ={mandate.group.name} - ={mandate.end_date} - ={mandate.active}
    %br/a