summaryrefslogtreecommitdiff
path: root/app/views/addresses
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 21:21:49 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 21:21:49 +0100
commit8fdc1332bbff9c23400459dc7018cba147279cc5 (patch)
treeb56793380fc4305dc23060fc4294721eb859217f /app/views/addresses
parenta81b51c2696e403bcd7ee59f0402f5b55527ab2c (diff)
Added %thead and %tbody to the tables.
Diffstat (limited to 'app/views/addresses')
-rw-r--r--app/views/addresses/_index_core.html.haml43
1 files changed, 22 insertions, 21 deletions
diff --git a/app/views/addresses/_index_core.html.haml b/app/views/addresses/_index_core.html.haml
index 3645009..8b9e0c2 100644
--- a/app/views/addresses/_index_core.html.haml
+++ b/app/views/addresses/_index_core.html.haml
@@ -1,23 +1,24 @@
%table{:class => 'table table-striped'}
- %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')
-
-
- - for address in addresses
+ %thead
%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} \ No newline at end of file
+ %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} \ No newline at end of file