summaryrefslogtreecommitdiff
path: root/app/views/gateway_parameters
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/gateway_parameters')
-rw-r--r--app/views/gateway_parameters/_index_core.html.haml6
-rw-r--r--app/views/gateway_parameters/edit.html.haml2
-rw-r--r--app/views/gateway_parameters/index.html.haml2
-rw-r--r--app/views/gateway_parameters/new.html.haml2
-rw-r--r--app/views/gateway_parameters/show.html.haml2
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/gateway_parameters/_index_core.html.haml b/app/views/gateway_parameters/_index_core.html.haml
index c22093d..0d00aaf 100644
--- a/app/views/gateway_parameters/_index_core.html.haml
+++ b/app/views/gateway_parameters/_index_core.html.haml
@@ -1,12 +1,12 @@
-%table
+%table{:class => 'table table-striped'}
%tr
%th= t('gateway_parameters.index.name')
%th= t('gateway_parameters.index.value')
%th= t('gateway_parameters.index.description')
- - reset_cycle
+
- for gateway_parameter in gateway_parameters
- %tr{:class => cycle('odd', 'even')}
+ %tr
%td= gateway_parameter.name
%td= gateway_parameter.value
%td= gateway_parameter.description
diff --git a/app/views/gateway_parameters/edit.html.haml b/app/views/gateway_parameters/edit.html.haml
index 86fe979..67fb831 100644
--- a/app/views/gateway_parameters/edit.html.haml
+++ b/app/views/gateway_parameters/edit.html.haml
@@ -1,3 +1,3 @@
-- title t("gateway_parameters.edit.page_title")
+- content_for :title, t("gateway_parameters.edit.page_title")
= render "form" \ No newline at end of file
diff --git a/app/views/gateway_parameters/index.html.haml b/app/views/gateway_parameters/index.html.haml
index 14b94b0..9eee4a3 100644
--- a/app/views/gateway_parameters/index.html.haml
+++ b/app/views/gateway_parameters/index.html.haml
@@ -1,4 +1,4 @@
-- title t("gateway_parameters.index.page_title")
+- content_for :title, t("gateway_parameters.index.page_title")
- if @gateway_parameters && @gateway_parameters.count > 0
= render "index_core", :gateway_parameters => @gateway_parameters
diff --git a/app/views/gateway_parameters/new.html.haml b/app/views/gateway_parameters/new.html.haml
index 5844088..5899602 100644
--- a/app/views/gateway_parameters/new.html.haml
+++ b/app/views/gateway_parameters/new.html.haml
@@ -1,3 +1,3 @@
-- title t("gateway_parameters.new.page_title")
+- content_for :title, t("gateway_parameters.new.page_title")
= render "form" \ No newline at end of file
diff --git a/app/views/gateway_parameters/show.html.haml b/app/views/gateway_parameters/show.html.haml
index 982ffac..9bdad76 100644
--- a/app/views/gateway_parameters/show.html.haml
+++ b/app/views/gateway_parameters/show.html.haml
@@ -1,4 +1,4 @@
-- title t("gateway_parameters.show.page_title")
+- content_for :title, t("gateway_parameters.show.page_title")
%p
%strong= t('gateway_parameters.show.gateway_id') + ":"