summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/_form_core.html.haml2
-rw-r--r--app/views/call_routes/index.html.haml6
-rw-r--r--app/views/call_routes/show.html.haml2
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/call_routes/_form_core.html.haml b/app/views/call_routes/_form_core.html.haml
index 4712e2f..2eee795 100644
--- a/app/views/call_routes/_form_core.html.haml
+++ b/app/views/call_routes/_form_core.html.haml
@@ -1,5 +1,5 @@
.inputs
- = f.input :table, :collection => CallRoute::ROUTING_TABLES, :label => t('call_routes.form.table.label'), :hint => conditional_hint('call_routes.form.table.hint'), :include_blank => false
+ = f.input :routing_table, :collection => CallRoute::ROUTING_TABLES, :label => t('call_routes.form.table.label'), :hint => conditional_hint('call_routes.form.table.hint'), :include_blank => false
= f.input :name, :label => t('call_routes.form.name.label'), :hint => conditional_hint('call_routes.form.name.hint')
= f.input :endpoint_type, :label => t('call_routes.form.endpoint_type.label'), :hint => conditional_hint('call_routes.form.endpoint_type.hint')
= f.input :endpoint_id, :label => t('call_routes.form.endpoint_id.label'), :hint => conditional_hint('call_routes.form.endpoint_id.hint')
diff --git a/app/views/call_routes/index.html.haml b/app/views/call_routes/index.html.haml
index c83606b..151fc0e 100644
--- a/app/views/call_routes/index.html.haml
+++ b/app/views/call_routes/index.html.haml
@@ -2,10 +2,10 @@
- if @call_routes && @call_routes.count > 0
%table
- - @tables.each do |table|
+ - @routing_tables.each do |routing_table|
%tr
%td{:colspan => 3}
- %h3= table
- = render "index_core", :call_routes => @call_routes.where(:table => table)
+ %h3= routing_table
+ = render "index_core", :call_routes => @call_routes.where(:routing_table => routing_table)
= render :partial => 'shared/create_link', :locals => {:child_class => CallRoute}
diff --git a/app/views/call_routes/show.html.haml b/app/views/call_routes/show.html.haml
index 8be64e6..bada227 100644
--- a/app/views/call_routes/show.html.haml
+++ b/app/views/call_routes/show.html.haml
@@ -2,7 +2,7 @@
%p
%strong= t('call_routes.show.table') + ":"
- = @call_route.table
+ = @call_route.routing_table
%p
%strong= t('call_routes.show.name') + ":"
= @call_route.name