summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-30 15:59:52 +0100
committerspag <spag@golwen.net>2013-01-30 15:59:52 +0100
commitd4a664a0495bd183b16a239aeb4c342e1ca739fa (patch)
treea6ef715208cbfdcbe8567388d27311daac3fef58 /app/views/call_routes
parent44337fb9a2bcbb8766e7c2b508cf2206afa09c05 (diff)
select route endpoint
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/_form_core.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/call_routes/_form_core.html.haml b/app/views/call_routes/_form_core.html.haml
index b64d660..6679a7b 100644
--- a/app/views/call_routes/_form_core.html.haml
+++ b/app/views/call_routes/_form_core.html.haml
@@ -1,5 +1,4 @@
.inputs
= 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, :autofocus => true
= 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 :endpoint_str, :collection => @endpoints, :label => t('call_routes.form.endpoint.label'), :hint => conditional_hint('call_routes.form.endpoint.hint'), :include_blank => false