From 8c53b8ba8615c1d55fd1aee140a7f57db2e52ebb Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Sat, 3 Aug 2013 11:30:11 +0200 Subject: gateway_headers added to gateway_view --- app/views/gateways/show.html.haml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/gateways/show.html.haml b/app/views/gateways/show.html.haml index 19b1304..397b9cf 100644 --- a/app/views/gateways/show.html.haml +++ b/app/views/gateways/show.html.haml @@ -118,6 +118,12 @@ %br = render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewaySetting } +%h3= t('gateway_headers.index.page_title') +- if @gateway.gateway_headers.any? + = render "gateway_headers/index_core", :gateway_headers => @gateway.gateway_headers + %br += render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewayHeader } + %h3= t('gateway_parameters.index.page_title') - if @gateway.gateway_parameters.any? = render "gateway_parameters/index_core", :gateway_parameters => @gateway.gateway_parameters -- cgit v1.2.3