diff options
author | Peter Kozak <spag@golwen.net> | 2013-08-03 11:30:11 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-08-03 11:30:11 +0200 |
commit | 8c53b8ba8615c1d55fd1aee140a7f57db2e52ebb (patch) | |
tree | 7f62270c45e45a53ca318ec49d61a960356ae6b3 /app/views/gateways/show.html.haml | |
parent | 439b8064546561c15fdd457c9236484c3254df0d (diff) |
gateway_headers added to gateway_view
Diffstat (limited to 'app/views/gateways/show.html.haml')
-rw-r--r-- | app/views/gateways/show.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |