<div class="df_w">
	<div class="df{if !$_MODEL->existsUsers} hidden{/if}" data-presentation="slide-remove-results-layer">
		<div class="space space_15"></div>
		<div class="df_title"><span>Usuń wyniki quizu</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Usuwa wyniki quizu dla tego pytania"><div class="df_tooltip_mask"></div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-help-circle"></use></svg></div></div> 
		<div class="space space_10"></div>
		<div class="df_ct"><button type="button" data-presentation="slide-remove-results" class="btn btn-primary btn-outline full-width"><div class="icon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"/></svg></div><span>Usuń wyniki</span></button></div>
		<div class="space space_15"></div> 
	</div>
	{assign var=element value=$_MODEL->getElement("name")}
	<div class="df">
		<div class="space space_15"></div>
		<div class="df_title"><span>Pytanie</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Maksymalna długość tekstu to 100 znaków"><div class="df_tooltip_mask"></div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-help-circle"></use></svg></div></div> 
		<div class="space space_10"></div>
		<div class="df_ct">
			<div class="input-group"><input type="text" name="name" value="{htmlspecialchars($element->getValue())}" class="form-control fn_data_max_length" data-max-length="100"><span class="input-group-addon input-group-addon-max-length">100</span></div>
		</div>
		<div class="space space_15"></div> 
	</div>
	{assign var=element value=$_MODEL->getElement("image")}
	{assign var=element_name value=$_MODEL->getElement("image_name")}
	<div class="df">
		<div class="space space_15"></div>
		<div class="df_title"><span>Obrazek do pytania</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Wstawia ukryty obrazek do slajdu"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-help-circle"/></svg></div></div> 
		<div class="space space_10"></div>
		<div class="df_ct">
         {include file="../../../helper/form/image.tpl" value=$element name=$element_name fieldFile="image_upload" fieldValue="image" fieldName="image_name"}
		</div>
		<div class="space space_15"></div> 
	</div>
	{assign var=element value=$_MODEL->getElement("description")}
	<div class="df">
		<div class="space space_15"></div>
		<div class="df_title"><span>Opis pytania</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Maksymalna długość tekstu to 200 znaków"><div class="df_tooltip_mask"></div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-help-circle"></use></svg></div></div> 
		<div class="space space_10"></div>
		<div class="df_ct">
			<div class="input-group input-group-textarea"><textarea name="description" class="form-control fn_data_max_length" rows="4" data-max-length="200">{htmlspecialchars($element->getValue())}</textarea></div>
		</div>
		<div class="space space_15"></div> 
	</div>
	{assign var=element value=$_MODEL->getElement("quantity")}
	<div class="df">
		<div class="space space_15"></div>
		<div class="df_title"><span>Dostępne pola dla głosującego</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Ilość dostępnych pól dla głosującego"><div class="df_tooltip_mask"></div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-help-circle"></use></svg></div></div> 
		<div class="space space_10"></div>
		<div class="df_ct">
			<input name="quantity" type="text" value="{htmlspecialchars($element->getValue())}" class="touchspin_1">
			<script>
				$(document).ready(function () {
					$(".touchspin_1").TouchSpin({
						verticalbuttons: true,
						buttondown_class: 'btn btn-white',
						buttonup_class: 'btn btn-white'
					});
				});
			</script>
		</div>
		<div class="space space_15"></div> 
	</div>
	{assign var=element value=$_MODEL->getElement("more_save")}
	<div class="df">
		<div class="space space_15"></div>
		<div class="df_title"><span>Wielokrotne wysyłanie formularza</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Pozwala użytkownikowi na wielokrotne wysłanie odpowiedzi"><div class="df_tooltip_mask"></div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-help-circle"></use></svg></div></div> 
		<div class="space space_10"></div>
		<div class="df_ct">
			<div class="df_options">
				<div class="df_option">
					<input type="radio" name="more_save" value="0" id="allow_multi_send_0"{if $element->getValue() == "0"} checked{/if}>
					<label for="allow_multi_send_0"><span>Nie</span></label>
				</div>
				<div class="df_option">
					<input type="radio" name="more_save" value="1" id="allow_multi_send_1"{if $element->getValue() == "1"} checked{/if}>
					<label for="allow_multi_send_1"><span>Tak</span></label>
				</div>
			</div>
		</div>
		<div class="space space_15"></div> 
	</div>
</div>