summaryrefslogtreecommitdiff
path: root/app/views/call_routes/_form_core.html.haml
blob: 73b6338e60a58c15b2603f81f8cc3d62665e2bb3 (plain)
1
2
3
4
5
6
7
8
9
10
.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_str, :collection => @endpoints, :label => t('call_routes.form.endpoint.label'), :hint => conditional_hint('call_routes.form.endpoint.hint'), :include_blank => false
  = f.input :position, :label => t('call_routes.form.position.label'), :hint => conditional_hint('call_routes.form.position.hint')

  - if @call_route.new_record?
    %p
      %strong= t('call_routes.form.xml.separator')
    = f.input :xml, :as => 'text', :label => t('call_routes.form.xml.label'), :hint => conditional_hint('call_routes.form.xml.hint')