summaryrefslogtreecommitdiff
path: root/app/views/gs_parameters
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/gs_parameters
parenta81b51c2696e403bcd7ee59f0402f5b55527ab2c (diff)
Added %thead and %tbody to the tables.
Diffstat (limited to 'app/views/gs_parameters')
-rw-r--r--app/views/gs_parameters/_index_core.html.haml29
1 files changed, 15 insertions, 14 deletions
diff --git a/app/views/gs_parameters/_index_core.html.haml b/app/views/gs_parameters/_index_core.html.haml
index 3d5f3cf..9628feb 100644
--- a/app/views/gs_parameters/_index_core.html.haml
+++ b/app/views/gs_parameters/_index_core.html.haml
@@ -1,16 +1,17 @@
- cache(['gs_parameters_table_section', gs_parameters.first.section, gs_parameters.reorder(:updated_at).last, gs_parameters.pluck(:id)]) do
- %tr
- %th= t('gs_parameters.index.name')
- - if !@sections
- %th= t('gs_parameters.index.section')
- %th= t('gs_parameters.index.value')
+ %thead
+ %tr
+ %th= t('gs_parameters.index.name')
+ - if !@sections
+ %th= t('gs_parameters.index.section')
+ %th= t('gs_parameters.index.value')
-
- - for gs_parameter in gs_parameters
- - cache(['gs_parameters_table_single_row', gs_parameter]) do
- %tr
- %td= gs_parameter.name
- - if !@sections
- %td= gs_parameter.section
- %td= truncate(gs_parameter.value, :length => 50)
- =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gs_parameter} \ No newline at end of file
+ %tbody
+ - for gs_parameter in gs_parameters
+ - cache(['gs_parameters_table_single_row', gs_parameter]) do
+ %tr
+ %td= gs_parameter.name
+ - if !@sections
+ %td= gs_parameter.section
+ %td= truncate(gs_parameter.value, :length => 50)
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gs_parameter} \ No newline at end of file