summaryrefslogtreecommitdiff
path: root/app/views/gateway_headers/index.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-03 11:27:50 +0200
committerPeter Kozak <spag@golwen.net>2013-08-03 11:27:50 +0200
commitf7bdfab32a165742c29cf687af0c28531f871706 (patch)
tree2c91ebff27a8c98dbf25ce3e248a12df2b6685f0 /app/views/gateway_headers/index.html.haml
parent4c1061fb7cdbaf1bf5614a5f255316cbc426d52d (diff)
gateway_headers views added
Diffstat (limited to 'app/views/gateway_headers/index.html.haml')
-rw-r--r--app/views/gateway_headers/index.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/gateway_headers/index.html.haml b/app/views/gateway_headers/index.html.haml
new file mode 100644
index 0000000..8760b5e
--- /dev/null
+++ b/app/views/gateway_headers/index.html.haml
@@ -0,0 +1,6 @@
+- content_for :title, t("gateway_headers.index.page_title")
+
+- if @gateway_headers && @gateway_headers.count > 0
+ = render "index_core", :gateway_headers => @gateway_headers
+
+= render :partial => 'shared/create_link', :locals => {:parent => @gateway, :child_class => GatewayHeader} \ No newline at end of file