summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-17 12:31:10 +0100
committerspag <spag@golwen.net>2013-01-17 12:31:10 +0100
commitae8ce84e44d776b3c2318795ceff611f0639b7ec (patch)
tree19847536b193a646f00364305451de2921e6a00b /app/views
parenta4c63280de43e820bfcf9f02d61f90a50fffff92 (diff)
call route views
Diffstat (limited to 'app/views')
-rw-r--r--app/views/call_routes/_form_core.html.haml3
-rw-r--r--app/views/call_routes/_index_core.html.haml2
2 files changed, 1 insertions, 4 deletions
diff --git a/app/views/call_routes/_form_core.html.haml b/app/views/call_routes/_form_core.html.haml
index 4b97434..4712e2f 100644
--- a/app/views/call_routes/_form_core.html.haml
+++ b/app/views/call_routes/_form_core.html.haml
@@ -1,6 +1,5 @@
.inputs
- = f.input :table, :label => t('call_routes.form.table.label'), :hint => conditional_hint('call_routes.form.table.hint')
+ = 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 :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')
- = f.input :position, :label => t('call_routes.form.position.label'), :hint => conditional_hint('call_routes.form.position.hint')
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml
index 6ea3af7..9e7b94e 100644
--- a/app/views/call_routes/_index_core.html.haml
+++ b/app/views/call_routes/_index_core.html.haml
@@ -4,7 +4,6 @@
%th= t('call_routes.index.name')
%th= t('call_routes.index.endpoint_type')
%th= t('call_routes.index.endpoint_id')
- %th= t('call_routes.index.position')
- reset_cycle
- for call_route in call_routes
@@ -13,5 +12,4 @@
%td= call_route.name
%td= call_route.endpoint_type
%td= call_route.endpoint_id
- %td= call_route.position
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => call_route} \ No newline at end of file