From f48e68fbf5889a837cb4f7442e39997eea94511c Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Sun, 13 Jan 2013 16:36:51 +0000 Subject: gateway views --- app/views/gateways/_index_core.html.haml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/views/gateways/_index_core.html.haml (limited to 'app/views/gateways/_index_core.html.haml') diff --git a/app/views/gateways/_index_core.html.haml b/app/views/gateways/_index_core.html.haml new file mode 100644 index 0000000..21414c3 --- /dev/null +++ b/app/views/gateways/_index_core.html.haml @@ -0,0 +1,17 @@ +%table + %tr + %th= t('gateways.index.name') + %th= t('gateways.index.technology') + %th= t('gateways.index.inbound') + %th= t('gateways.index.outbound') + %th= t('gateways.index.description') + + - reset_cycle + - for gateway in gateways + %tr{:class => cycle('odd', 'even')} + %td= gateway.name + %td= gateway.technology + %td= gateway.inbound + %td= gateway.outbound + %td= gateway.description + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway} \ No newline at end of file -- cgit v1.2.3