summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-04 12:15:12 +0200
committerPeter Kozak <spag@golwen.net>2013-08-04 12:15:12 +0200
commit7e044c9e1216a5faf4115e4d76ec8a74c618ffac (patch)
tree15a17863692f6dab078d4419855ba7869b2a5376
parent067a2f482aa4524048684a8b09ffaaa8270780ef (diff)
simpler constraints
-rw-r--r--app/views/gateway_headers/_form_core.html.haml1
-rw-r--r--app/views/gateway_headers/_index_core.html.haml3
2 files changed, 0 insertions, 4 deletions
diff --git a/app/views/gateway_headers/_form_core.html.haml b/app/views/gateway_headers/_form_core.html.haml
index 2fcb70b..9a917d4 100644
--- a/app/views/gateway_headers/_form_core.html.haml
+++ b/app/views/gateway_headers/_form_core.html.haml
@@ -1,6 +1,5 @@
.inputs
= f.input :header_type, :collection => GatewayHeader::HEADER_TYPES, :label => t('gateway_headers.form.header_type.label'), :hint => conditional_hint('gateway_headers.form.header_type.hint'), :include_blank => false
- = f.input :constraint_source, :label => t('gateway_headers.form.constraint_source.label'), :hint => conditional_hint('gateway_headers.form.constraint_source.hint')
= f.input :constraint_value, :label => t('gateway_headers.form.constraint_value.label'), :hint => conditional_hint('gateway_headers.form.constraint_value.hint')
= f.input :name, :label => t('gateway_headers.form.name.label'), :hint => conditional_hint('gateway_headers.form.name.hint'), :autofocus => true
= f.input :value, :label => t('gateway_headers.form.value.label'), :hint => conditional_hint('gateway_headers.form.value.hint')
diff --git a/app/views/gateway_headers/_index_core.html.haml b/app/views/gateway_headers/_index_core.html.haml
index b468026..69b1cf2 100644
--- a/app/views/gateway_headers/_index_core.html.haml
+++ b/app/views/gateway_headers/_index_core.html.haml
@@ -11,9 +11,6 @@
%tr
%td= gateway_header.header_type
%td
- = gateway_header.constraint_source
- - if !gateway_header.constraint_source.blank?
- %strong ~=
= gateway_header.constraint_value
%td= gateway_header.name
%td= gateway_header.value