summaryrefslogtreecommitdiff
path: root/app/views/gateway_headers/_index_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/gateway_headers/_index_core.html.haml')
-rw-r--r--app/views/gateway_headers/_index_core.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/gateway_headers/_index_core.html.haml b/app/views/gateway_headers/_index_core.html.haml
new file mode 100644
index 0000000..69b1cf2
--- /dev/null
+++ b/app/views/gateway_headers/_index_core.html.haml
@@ -0,0 +1,17 @@
+%table.table.table-striped
+ %thead
+ %tr
+ %th= t('gateway_headers.index.header_type')
+ %th= t('gateway_headers.index.constraint')
+ %th= t('gateway_headers.index.name')
+ %th= t('gateway_headers.index.value')
+
+ %tbody
+ - for gateway_header in gateway_headers
+ %tr
+ %td= gateway_header.header_type
+ %td
+ = gateway_header.constraint_value
+ %td= gateway_header.name
+ %td= gateway_header.value
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => gateway_header.gateway, :child => gateway_header}