summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-03 11:30:11 +0200
committerPeter Kozak <spag@golwen.net>2013-08-03 11:30:11 +0200
commit8c53b8ba8615c1d55fd1aee140a7f57db2e52ebb (patch)
tree7f62270c45e45a53ca318ec49d61a960356ae6b3
parent439b8064546561c15fdd457c9236484c3254df0d (diff)
gateway_headers added to gateway_view
-rw-r--r--app/views/gateways/show.html.haml6
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