Commit 5cc5955f authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Adjust margins

parent 4a62edac
...@@ -59,24 +59,25 @@ ...@@ -59,24 +59,25 @@
= site.url|website_link = site.url|website_link
.row .row
%h2 Contact information .col-md-12
%table.table.table-condensed.detail-view %h2 Contact information
- for email in representative.email_set.all %table.table.table-condensed.detail-view
%tr - for email in representative.email_set.all
%th E-mail %tr
%td %th E-mail
= email.email|email_link %td
= email.email|email_link
- if representative.phone_set.all|length > 0 - if representative.phone_set.all|length > 0
%tr %tr
%th Phone numbers %th Phone numbers
%td %td
- for phone in representative.phone_set.all - for phone in representative.phone_set.all
.phone {{ phone.number }} .phone {{ phone.number }}
- for address in representative.address_set.all - for address in representative.address_set.all
%tr %tr
%th %th
= address.name = address.name
%td %td
- include 'representatives/_address_block.html' with address=address - include 'representatives/_address_block.html' with address=address
\ No newline at end of file \ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment