summaryrefslogtreecommitdiff
path: root/app/views/hunt_group_members
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/hunt_group_members
parenta81b51c2696e403bcd7ee59f0402f5b55527ab2c (diff)
Added %thead and %tbody to the tables.
Diffstat (limited to 'app/views/hunt_group_members')
-rw-r--r--app/views/hunt_group_members/_index_core.html.haml35
1 files changed, 18 insertions, 17 deletions
diff --git a/app/views/hunt_group_members/_index_core.html.haml b/app/views/hunt_group_members/_index_core.html.haml
index c6b7e4a..611e74c 100644
--- a/app/views/hunt_group_members/_index_core.html.haml
+++ b/app/views/hunt_group_members/_index_core.html.haml
@@ -1,20 +1,21 @@
%table{:class => 'table table-striped'}
- %tr
- %th= t('hunt_group_members.index.name')
- %th= t('hunt_group_members.index.active')
- %th= t('hunt_group_members.index.can_switch_status_itself')
- %th= t('hunt_group_members.index.phone_numbers')
-
-
- - for hunt_group_member in hunt_group_members
+ %thead
%tr
- %td= hunt_group_member.name
- %td= hunt_group_member.active
- %td= hunt_group_member.can_switch_status_itself
- %td
- - if hunt_group_member.phone_numbers.count > 0
- =render 'phone_numbers/listing', :phone_numbers => hunt_group_member.phone_numbers
- %br
- = render :partial => 'shared/create_link', :locals => {:parent => hunt_group_member, :child_class => PhoneNumber, :short_link => true}
+ %th= t('hunt_group_members.index.name')
+ %th= t('hunt_group_members.index.active')
+ %th= t('hunt_group_members.index.can_switch_status_itself')
+ %th= t('hunt_group_members.index.phone_numbers')
+
+ %tbody
+ - for hunt_group_member in hunt_group_members
+ %tr
+ %td= hunt_group_member.name
+ %td= hunt_group_member.active
+ %td= hunt_group_member.can_switch_status_itself
+ %td
+ - if hunt_group_member.phone_numbers.count > 0
+ =render 'phone_numbers/listing', :phone_numbers => hunt_group_member.phone_numbers
+ %br
+ = render :partial => 'shared/create_link', :locals => {:parent => hunt_group_member, :child_class => PhoneNumber, :short_link => true}
- =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => hunt_group_member.hunt_group, :child => hunt_group_member} \ No newline at end of file
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => hunt_group_member.hunt_group, :child => hunt_group_member} \ No newline at end of file