summaryrefslogtreecommitdiff
path: root/app/views/addresses/_index_core.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
commitb80bd744ad873f6fc43018bc4bfb90677de167bd (patch)
tree072c4b0e33d442528555b82c415f5e7a1712b2b0 /app/views/addresses/_index_core.html.haml
parent3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff)
Start of GS5.
Diffstat (limited to 'app/views/addresses/_index_core.html.haml')
-rw-r--r--app/views/addresses/_index_core.html.haml23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/views/addresses/_index_core.html.haml b/app/views/addresses/_index_core.html.haml
new file mode 100644
index 0000000..2050ded
--- /dev/null
+++ b/app/views/addresses/_index_core.html.haml
@@ -0,0 +1,23 @@
+%table
+ %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')
+
+ - reset_cycle
+ - for address in addresses
+ %tr{:class => cycle('odd', 'even')}
+ %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