diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/gateways/show.html.haml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/app/views/gateways/show.html.haml b/app/views/gateways/show.html.haml index c9942dd..3460c58 100644 --- a/app/views/gateways/show.html.haml +++ b/app/views/gateways/show.html.haml @@ -16,4 +16,17 @@ %strong= t('gateways.show.description') + ":" = @gateway.description -= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway }
\ No newline at end of file += render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway } + + +%h2= t('gateway_settings.index.page_title') +- if @gateway.gateway_settings.any? + = render "gateway_settings/index_core", :gateway_settings => @gateway.gateway_settings + %br += render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewaySetting } + +%h2= t('gateway_parameters.index.page_title') +- if @gateway.gateway_parameters.any? + = render "gateway_parameters/index_core", :gateway_parameters => @gateway.gateway_parameters + %br += render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewayParameter } |