summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/gs_parameters/_index_core.html.haml2
-rw-r--r--app/views/gs_parameters/index.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/gs_parameters/_index_core.html.haml b/app/views/gs_parameters/_index_core.html.haml
index ece3922..0c36560 100644
--- a/app/views/gs_parameters/_index_core.html.haml
+++ b/app/views/gs_parameters/_index_core.html.haml
@@ -1,6 +1,6 @@
- cache([gs_parameters.first.section, gs_parameters.reorder(:updated_at).last, gs_parameters.pluck(:id)]) do
%tr
- %th= t('gs_parameters.index.name') + 'asd'
+ %th= t('gs_parameters.index.name')
- if !@sections
%th= t('gs_parameters.index.section')
%th= t('gs_parameters.index.value')
diff --git a/app/views/gs_parameters/index.html.haml b/app/views/gs_parameters/index.html.haml
index 51957b6..3c16806 100644
--- a/app/views/gs_parameters/index.html.haml
+++ b/app/views/gs_parameters/index.html.haml
@@ -8,7 +8,7 @@
%tr
%td{:colspan => 3}
%h3= section
- / Template Dependency: gs_parameters/index_core
+ -# Template Dependency: gs_parameters/_index_core
= render "index_core", :gs_parameters => @gs_parameters.where(:section => section)
- else
%table