summaryrefslogtreecommitdiff
path: root/app/views/addresses/_index_core.html.haml
blob: 8b9e0c2a8068758ba7ac8b9c479c57688275cb67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%table{:class => 'table table-striped'}
  %thead
    %tr
      %th= t('addresses.index.phone_book_entry_id')
      %th= t('addresses.index.line1')
      %th= t('addresses.index.line2')
      %th= t('addresses.index.street')
      %th= t('addresses.index.zip_code')
      %th= t('addresses.index.city')
      %th= t('addresses.index.country_id')
      %th= t('addresses.index.position')

  %tbody
    - for address in addresses
      %tr
        %td= address.phone_book_entry_id
        %td= address.line1
        %td= address.line2
        %td= address.street
        %td= address.zip_code
        %td= address.city
        %td= address.country_id
        %td= address.position
        =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => address.phone_book_entry, :child => address}