diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 21:21:49 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 21:21:49 +0100 |
commit | 8fdc1332bbff9c23400459dc7018cba147279cc5 (patch) | |
tree | b56793380fc4305dc23060fc4294721eb859217f /app/views/phones/_index_core.html.haml | |
parent | a81b51c2696e403bcd7ee59f0402f5b55527ab2c (diff) |
Added %thead and %tbody to the tables.
Diffstat (limited to 'app/views/phones/_index_core.html.haml')
-rw-r--r-- | app/views/phones/_index_core.html.haml | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/app/views/phones/_index_core.html.haml b/app/views/phones/_index_core.html.haml index fc1ad19..b8efbe3 100644 --- a/app/views/phones/_index_core.html.haml +++ b/app/views/phones/_index_core.html.haml @@ -1,15 +1,16 @@ %table{:class => 'table table-striped'} - %tr - %th= t('phones.index.mac_address') - %th= t('phones.index.phone_model_id') - %th= t('phones.index.hot_deskable') - %th= t('phones.index.ip_address') - - - - for phone in phones + %thead %tr - %td= phone.pretty_mac_address - %td= phone.phone_model - %td= phone.hot_deskable - %td= phone.ip_address - =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone.phoneable, :child => phone}
\ No newline at end of file + %th= t('phones.index.mac_address') + %th= t('phones.index.phone_model_id') + %th= t('phones.index.hot_deskable') + %th= t('phones.index.ip_address') + + %tbody + - for phone in phones + %tr + %td= phone.pretty_mac_address + %td= phone.phone_model + %td= phone.hot_deskable + %td= phone.ip_address + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone.phoneable, :child => phone}
\ No newline at end of file |