summaryrefslogtreecommitdiff
path: root/app/views/gs_nodes/_index_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/gs_nodes/_index_core.html.haml')
-rw-r--r--app/views/gs_nodes/_index_core.html.haml37
1 files changed, 19 insertions, 18 deletions
diff --git a/app/views/gs_nodes/_index_core.html.haml b/app/views/gs_nodes/_index_core.html.haml
index 0f1a51c..7da6881 100644
--- a/app/views/gs_nodes/_index_core.html.haml
+++ b/app/views/gs_nodes/_index_core.html.haml
@@ -1,19 +1,20 @@
-%table{:class => 'table table-striped'}
- %tr
- %th= t('gs_nodes.index.name')
- %th= t('gs_nodes.index.ip_address')
- %th= t('gs_nodes.index.site')
- %th= t('gs_nodes.index.element_name')
- %th= t('gs_nodes.index.push_updates_to')
- %th= t('gs_nodes.index.accepts_updates_from')
-
-
- - for gs_node in gs_nodes
+%table.table.table-striped
+ %thead
%tr
- %td= gs_node.name
- %td= gs_node.ip_address
- %td= gs_node.site
- %td= gs_node.element_name
- %td= gs_node.push_updates_to
- %td= gs_node.accepts_updates_from
- =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gs_node} \ No newline at end of file
+ %th= t('gs_nodes.index.name')
+ %th= t('gs_nodes.index.ip_address')
+ %th= t('gs_nodes.index.site')
+ %th= t('gs_nodes.index.element_name')
+ %th= t('gs_nodes.index.push_updates_to')
+ %th= t('gs_nodes.index.accepts_updates_from')
+
+ %tbody
+ - for gs_node in gs_nodes
+ %tr
+ %td= gs_node.name
+ %td= gs_node.ip_address
+ %td= gs_node.site
+ %td= gs_node.element_name
+ %td= gs_node.push_updates_to
+ %td= gs_node.accepts_updates_from
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gs_node} \ No newline at end of file