summaryrefslogtreecommitdiff
path: root/app/views/gs_parameters/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 11:45:46 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 11:45:46 +0100
commit7b1295884861b222e441f431089ea3a6d99fd569 (patch)
treebad56b6f9cfd63130f790806665505c3a44c4874 /app/views/gs_parameters/show.html.haml
parentc0c87dc9a80d7bf7f6dd7a779a6519a0e1425c5c (diff)
Started to fragment cache gs_parameter views.
Diffstat (limited to 'app/views/gs_parameters/show.html.haml')
-rw-r--r--app/views/gs_parameters/show.html.haml35
1 files changed, 18 insertions, 17 deletions
diff --git a/app/views/gs_parameters/show.html.haml b/app/views/gs_parameters/show.html.haml
index 185641d..7919f8c 100644
--- a/app/views/gs_parameters/show.html.haml
+++ b/app/views/gs_parameters/show.html.haml
@@ -1,19 +1,20 @@
-- title t("gs_parameters.show.page_title")
+- cache(@gs_parameter) do
+ - title t("gs_parameters.show.page_title")
-%p
- %strong= t('gs_parameters.show.name') + ":"
- = @gs_parameter.name
-%p
- %strong= t('gs_parameters.show.section') + ":"
- = @gs_parameter.section
-%p
- %strong= t('gs_parameters.show.value') + ":"
- = @gs_parameter.value
-%p
- %strong= t('gs_parameters.show.class_type') + ":"
- = @gs_parameter.class_type
-%p
- %strong= t('gs_parameters.show.description') + ":"
- = @gs_parameter.description
+ %p
+ %strong= t('gs_parameters.show.name') + ":"
+ = @gs_parameter.name
+ %p
+ %strong= t('gs_parameters.show.section') + ":"
+ = @gs_parameter.section
+ %p
+ %strong= t('gs_parameters.show.value') + ":"
+ = @gs_parameter.value
+ %p
+ %strong= t('gs_parameters.show.class_type') + ":"
+ = @gs_parameter.class_type
+ %p
+ %strong= t('gs_parameters.show.description') + ":"
+ = @gs_parameter.description
-= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gs_parameter } \ No newline at end of file
+ = render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gs_parameter } \ No newline at end of file