<div class="dialog_popup callflows-port">
	<h1>{{ i18n.callflows.device.connect_caller_to_device }}</h1>
	<form name="form" method="post" action="#">
		<div class="form_content">
			<div class="popup_field">
				<label for="device_selector">{{ i18n.callflows.device.which_device }}</label>
				<div class="select_wrapper">
					<select id="device_selector">
						{{#select objects.selected}}
							{{#each objects.items}}
								<option value="{{ this.id }}">{{ this.name }}</option>
							{{/each}}
						{{/select}}
					</select>
					<div class="action_links_div">
						<div id="edit_link"><a class="inline_action" data-action="edit" href="#">{{ i18n.callflows.device.edit_phone_options }}</a></div>
						<div><a class="inline_action" data-action="create" href="#">{{ i18n.callflows.device.add_new_device }}</a></div>
					</div>
				</div>
				<div class="clear"/>
			</div>

			<div class="parameter_div">
				{{ i18n.callflows.device.ring_this_device_for }} <input type="text" class="size2" name="parameter_input" id="parameter_input" value="{{ parameter.value }}"/> {{ i18n.callflows.device.seconds }}.
			</div>

			<div class="parameter_div">
				<input type="checkbox"{{#if can_call_self}} checked="checked"{{/if}} id="device_can_call_self">
				{{ i18n.callflows.device.allow_this_device_to_call_itself }}

				<div class="parameter_description">{{ i18n.callflows.device.when_you_check_this_box }}</div>
			</div>
		</div>
	</form>
	<div class="buttons-center">
		<button id="add" class="monster-button monster-button-primary">{{ i18n.save }}</button>
	</div>
	<div class="clear"/>
</div>

