summaryrefslogtreecommitdiff
path: root/app/views/gs_parameters/show.html.haml
diff options
context:
space:
mode:
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