From bfacc7b5de2f3a5a9d09a16683a9ba1fcf184d98 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Sun, 13 Jan 2013 22:11:11 +0100 Subject: Fixed some gateway stuff. --- app/views/gateway_settings/_index_core.html.haml | 4 ++-- app/views/gateway_settings/show.html.haml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views') diff --git a/app/views/gateway_settings/_index_core.html.haml b/app/views/gateway_settings/_index_core.html.haml index 1b8e443..5b93f16 100644 --- a/app/views/gateway_settings/_index_core.html.haml +++ b/app/views/gateway_settings/_index_core.html.haml @@ -9,9 +9,9 @@ - reset_cycle - for gateway_setting in gateway_settings %tr{:class => cycle('odd', 'even')} - %td= gateway_setting.gateway_id + %td= gateway_setting.gateway %td= gateway_setting.name %td= gateway_setting.value %td= gateway_setting.class_type %td= gateway_setting.description - =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway_setting} \ No newline at end of file + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => gateway_setting.gateway, :child_class => gateway_setting} \ No newline at end of file diff --git a/app/views/gateway_settings/show.html.haml b/app/views/gateway_settings/show.html.haml index 4f38e0b..14de6de 100644 --- a/app/views/gateway_settings/show.html.haml +++ b/app/views/gateway_settings/show.html.haml @@ -2,7 +2,7 @@ %p %strong= t('gateway_settings.show.gateway_id') + ":" - = @gateway_setting.gateway_id + = @gateway_setting.gateway %p %strong= t('gateway_settings.show.name') + ":" = @gateway_setting.name @@ -16,4 +16,4 @@ %strong= t('gateway_settings.show.description') + ":" = @gateway_setting.description -= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway_setting } \ No newline at end of file += render :partial => 'shared/show_edit_destroy_part', :locals => {:parent => @gateway_setting.gateway, :child_class => @gateway_setting} \ No newline at end of file -- cgit v1.2.3