summaryrefslogtreecommitdiff
path: root/app/views/gateway_settings/_index_core.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-01-13 16:37:07 +0000
committerPeter Kozak <spag@golwen.net>2013-01-13 16:37:07 +0000
commitdbb740151dabceeec4891a2233d37b4ad55c9edc (patch)
treecf0599056c4605996c11a7c584ab21627a40f141 /app/views/gateway_settings/_index_core.html.haml
parentf48e68fbf5889a837cb4f7442e39997eea94511c (diff)
gateway_settings views
Diffstat (limited to 'app/views/gateway_settings/_index_core.html.haml')
-rw-r--r--app/views/gateway_settings/_index_core.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/gateway_settings/_index_core.html.haml b/app/views/gateway_settings/_index_core.html.haml
new file mode 100644
index 0000000..1b8e443
--- /dev/null
+++ b/app/views/gateway_settings/_index_core.html.haml
@@ -0,0 +1,17 @@
+%table
+ %tr
+ %th= t('gateway_settings.index.gateway_id')
+ %th= t('gateway_settings.index.name')
+ %th= t('gateway_settings.index.value')
+ %th= t('gateway_settings.index.class_type')
+ %th= t('gateway_settings.index.description')
+
+ - reset_cycle
+ - for gateway_setting in gateway_settings
+ %tr{:class => cycle('odd', 'even')}
+ %td= gateway_setting.gateway_id
+ %td= gateway_setting.name
+ %td= gateway_setting.value
+ %td= gateway_setting.class_type
+ %td= gateway_setting.description
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway_setting} \ No newline at end of file