{block name=metaTitle}Edycja prezentacji{/block}
{block name=bodyPage}administrator_presentation_edit{/block}
{block name=body}
	<div class="svg_sprite">{file_get_contents('theme/dobry-start/images/icons/svg/sprite.svg')}</div>
	<div id="wrapper">
		<div class="wrapper_ct">
			<div class="wrapper_ct_l">
				<div class="ct_ct_a">
					<div class="ct_ct">
						<div class="ct_ct_row top">
							<div class="ct_ct_c">
								<a href="{url controller="index" action="index"}" class="back_btn"><div class="back_btn_i"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-home"></use></svg></div> <div class="back_btn_d">Powrót</div></a>
							</div>
						</div>
						<div class="ct_ct_row middle">
							<div class="ct_ct_c">
								<div class="slimscroll_w5">
									<div class="slimscroll_w4" data-scroll-position="left">
										<div class="slimscroll_w3">
											<div class="slimscroll_w2">
												<div class="slimscroll_w1">
													<div class="slides" data-presentation="slides-list">
														{foreach from=$_MODEL.boards item=slide}
															<div class="slide" id="slide_{$slide.board_id}" data-presentation="slide" data-slide-index="{$slide.index}" data-slide-id="{$slide.board_id}" data-slide-type="{$slide.type}" data-slide-preview="{$slide.preview}">
																<div class="slide_ct">
																	<div class="slide_ct_c">
																		<div class="slide_ct_ct bg">
																			<div class="slide_ct_ct_c">
																				<div class="actions">
																					<div class="action action_number"><div class="action_c" data-presentation="slide-index">{$slide.index}</div></div>
																					<div class="action action_remove" data-presentation="slide-remove"><div class="action_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"></use></svg><i class="fa fa-trash" aria-hidden="true"></i></div></div>
																					{*<a href="" class="action action_edit"><div class="action_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-pencil"></use></svg><i class="fa fa-pencil" aria-hidden="true"></i></div></a>*}
																					<div class="action action_duplicate" data-presentation="slide-duplicate"><div class="action_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-copy"></use></svg><i class="fa fa-copy" aria-hidden="true"></i></div></div>
																				</div>
																				<div data-presentation="slide-icon">
																					{if $slide.type == "empty"}
																						<div class="slide_title_w">
																							<div class="slide_title"><div class="slide_title_c">Pusty slajd</div></div>
																						</div>
																					{else}
																						
																					{/if}
																				</div>
																				<img class="size" src="{url mode="root"}theme/dobry-start/images/size_10x6.png" alt="">
																			</div>
																		</div>
																	</div>
																</div>
															</div>
														{/foreach}
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="ct_ct_row bottom">
							<div class="ct_ct_c">
								<div class="slides_buttons">
									<div class="slides_btn" data-presentation="slide-add">
										<div class="slides_btn_ct">
											<div class="slides_btn_ct_c">                                            
												<div class="bbtn">
													<div class="bbtn_i"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-plus"></use></svg></div>
													<div class="bbtn_d">Dodaj slajd</div>
												</div>
											</div>
										</div>
									</div>
									<div class="slides_btn disabled" data-presentation="presentation-play">
										<div class="slides_btn_ct">
											<div class="slides_btn_ct_c">
												<div class="bbtn">
													<div class="bbtn_i"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-play"></use></svg></div>
													<div class="bbtn_d">Uruchom</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="wrapper_ct_c">
				<div class="main_tabs">
					<div class="main_tab active" data-slidetab="preview">
						<header>
							<section class="section_nav">
								<div class="ct">
									<div class="ct_l"></div>
									<div class="ct_c">
										<div class="ct_ct">
											<div class="ct_ct_c">
												<div class="ct_ct_ct">
													<div class="ct_ct_ct_l">
														<div class="nav_breadcrumb">
															<ul>
																<li><div><span class="breadcrumb_icon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-slide"></use></svg></span> <span class="breadcrumb_text">{$_MODEL.name}</span></div></li>
															</ul>
														</div>
													</div>
													<div class="ct_ct_ct_s"></div>
													<div class="ct_ct_ct_r">
														<div class="nav_icons">
															<div class="icon saving" data-presentation="preview-icon-saving"><div class="icon_ct"><div class="icon_ct_c"><div><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-loading"></use></svg></div><div>Zapisywanie...</div></div></div></div></div>
															<div class="icon error" data-presentation="preview-icon-saving-error"><div class="icon_ct"><div class="icon_ct_c"><div><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-alert-circle"></use></svg></div><div>Błąd zapisu</div></div></div></div></div>
															<div class="icon saved" data-presentation="preview-icon-saving-success"><div class="icon_ct"><div class="icon_ct_c"><div><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-save"></use></svg></div><div>Zapisano</div></div></div></div></div>
															<div class="icon" data-slidetab="preview"><div class="icon_ct"><div class="icon_ct_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-slide"></use></svg></div></div></div>
															<div class="icon fullscreen"><div class="icon_ct"><div class="icon_ct_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-expand"></use></svg></div></div></div>
															<div class="icon" data-slidetab="settings"><div class="icon_ct"><div class="icon_ct_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-cog"></use></svg></div></div></div>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
									<div class="ct_r"></div>
								</div>
							</section>
						</header>
						<div class="maincontainer">
							<section class="section_slide_preview">
								<div class="ct">
									<div class="ct_l"></div>
									<div class="ct_c">
										<div class="preview_p_slide">
											<div class="preview_p_slide_box_t"></div>
											<div class="preview_p_slide_box_m">
												<div class="preview_p_slide_box_m_m_inner" data-presentation="slide-preview">
													<div class="slide_preview_inner_ct slide_type_1_1">
														<div class="slide_preview_inner_ct_c">
															<div class="slide_preview_title clear font_320">Wybierz szablon z prawej strony</div>
														</div>
													</div>
												</div>
											</div>
											<div class="preview_p_slide_box_b"></div>
										</div>
									</div>
									<div class="ct_r"></div>
								</div>
							</section>
						</div>
						<footer>
							<section class="section_slide_details">
								<div class="ct">
									<div class="ct_l"></div>
									<div class="ct_c">
										<div class="ct_ct">
											<div class="ct_ct_l">
												<div class="ct_info">
													<div class="ct_info_l">{*<svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-info-circle"></use></svg>*}</div>
													<div class="ct_info_r">{*Deserunt ullamco aute eu irure occaecat in aliquip fugiat cupidatat laboris nisi eiusmod tempor sit tempor sed id culpa.*}</div>
												</div>
											</div>
											<div class="ct_ct_r" data-presentation="slides-statistics">Slajd <span class="current">0</span> <span class="of">z</span> <span class="total">0</span></div>
										</div>
									</div>
									<div class="ct_r"></div>
								</div>
							</section>
						</footer>
					</div>
					<div class="main_tab" data-slidetab="settings">
						<header>
							<section class="section_nav">
								<div class="ct">
									<div class="ct_l"></div>
									<div class="ct_c">
										<div class="ct_ct">
											<div class="ct_ct_c">
												<div class="ct_ct_ct">
													<div class="ct_ct_ct_l">
														<div class="nav_breadcrumb">
															<ul>
																<li><div><span class="breadcrumb_icon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-cog"></use></svg></span> <span class="breadcrumb_text">Ustawienia prezentacji</span></div></li>
															</ul>
														</div>
													</div>
													<div class="ct_ct_ct_s"></div>
													<div class="ct_ct_ct_r">
														<div class="nav_icons">
															<div class="icon saving" data-presentation="settings-icon-saving"><div class="icon_ct"><div class="icon_ct_c"><div><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-loading"></use></svg></div><div>Zapisywanie...</div></div></div></div></div>
															<div class="icon error" data-presentation="settings-icon-saving-error"><div class="icon_ct"><div class="icon_ct_c"><div><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-alert-circle"></use></svg></div><div>Błąd zapisu</div></div></div></div></div>
															<div class="icon saved" data-presentation="settings-icon-saving-success"><div class="icon_ct"><div class="icon_ct_c"><div><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-save"></use></svg></div><div>Zapisano</div></div></div></div></div>
															<div class="icon" data-slidetab="preview"><div class="icon_ct"><div class="icon_ct_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-slide"></use></svg></div></div></div>
															<div class="icon fullscreen"><div class="icon_ct"><div class="icon_ct_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-expand"></use></svg></div></div></div>
															<div class="icon" data-slidetab="settings"><div class="icon_ct"><div class="icon_ct_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-cog"></use></svg></div></div></div>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
									<div class="ct_r"></div>
								</div>
							</section>
						</header>
						<div class="maincontainer">
							<div class="slimscroll_w5">
								<div class="slimscroll_w4" data-scroll-position="right">
									<div class="slimscroll_w3">
										<div class="slimscroll_w2">
											<div class="slimscroll_w1">
												<section class="section_presentation_settings">
													<form data-presentation="settings">
														<div class="ct">
															<div class="ct_c">
																<div class="df_w">
																	<div class="df">
																		<div class="space space_15"></div>
																		<div class="df_title"><span>Tytuł prezentacji</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Maksymalna długość to 80 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" class="form-control fn_data_max_length" data-max-length="80" value="{htmlspecialchars($_MODEL.name)}"><span class="input-group-addon data-length-value">80</span></div>
																		</div>
																		<div class="df_error"><div data-error="name"></div></div>
																		<div class="space space_15"></div> 
																	</div>
																	<input type="hidden" name="tempo" value="1">
																	{*<div class="df">
																		<div class="space space_15"></div>
																		<div class="df_title"><span>Typ prezentacji</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Określa dostęp do prezentacji dla użytkownikó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="df_options">
																				<div class="df_option">
																					<input type="radio" name="tempo" value="1" id="tempo_1"{if $_MODEL.tempo == "1"} checked{/if}>
																					<label for="tempo_1"><span>Z prelegentem (na żywo)</span></label>
																				</div>
																				<div class="df_option">
																					<input type="radio" name="tempo" value="2" id="tempo_2"{if $_MODEL.tempo == "2"} checked{/if}>
																					<label for="tempo_2"><span>Bez prelegenta</span></label>
																				</div>
																			</div>
																		</div>
																		<div class="df_error"><div data-error="tempo"></div></div>
																		<div class="space space_15"></div> 
																	</div>*}
																	<div class="df">
																		<div class="space space_15"></div>
																		<div class="df_title"><span>Pokaż wyniki pytań</span><div class="df_tooltip" data-toggle="tooltip" data-placement="top" title="" data-original-title="Użytkownicy widzą wyniki głosowania"><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="results" value="1" id="results_1"{if $_MODEL.results == "1"} checked{/if}>
																					<label for="results_1"><span>Tak</span></label>
																				</div>
																				<div class="df_option">
																					<input type="radio" name="results" value="0" id="results_0"{if $_MODEL.results == "0"} checked{/if}>
																					<label for="results_0"><span>Nie</span></label>
																				</div>
																			</div>
																		</div>
																		<div class="df_error"><div data-error="results"></div></div>
																		<div class="space space_15"></div> 
																	</div>
																	<div class="df">
																		<div class="space space_15"></div>
																		<div class="df_ct">
																			<button type="button" data-presentation="presentation-remove-results" class="btn btn-primary btn-outline"><div class="icon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"></use></svg></div><span>Usuń wszystkie wyniki</span></button>
																		</div>
																		<div class="df_error"><div data-error="results"></div></div>
																		<div class="space space_15"></div> 
																	</div>
																</div>
															</div>
														</div>
													</form>
												</section>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<footer>
							<section class="section_slide_details">
								<div class="ct">
									<div class="ct_l"></div>
									<div class="ct_c">
										<div class="ct_ct">
											<div class="ct_ct_l">
												<div class="ct_info">
													<div class="ct_info_l">{*<svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-info-circle"></use></svg>*}</div>
													<div class="ct_info_r">{*Deserunt ullamco aute eu irure occaecat in aliquip fugiat cupidatat laboris nisi eiusmod tempor sit tempor sed id culpa.*}</div>
												</div>
											</div>
											<div class="ct_ct_r" data-presentation="slides-statistics">Slajd <span class="current">0</span> <span class="of">z</span> <span class="total">0</span></div>
										</div>
									</div>
									<div class="ct_r"></div>
								</div>
							</section>
						</footer>
					</div>
				</div>
			</div>
			<div class="wrapper_ct_r">
				<div class="ct_ct_a">
					<div class="ct_ct">
						<div class="ct_ct_row top">
							<div class="ct_ct_c">
								<div class="rtab_nav">
									<ul>
										<li class="rtab_link active" data-rtab-link="theme"><span>Szablon</span></li>
										<li class="rtab_s"></li>
										<li class="rtab_link" data-rtab-link="content"><span>Zawartość</span></li>
									</ul>
									<div class="active_bg"></div>
								</div>
							</div>
						</div>
						<div class="ct_ct_row middle">
							<div class="ct_ct_c">
								<div class="slimscroll_w5">
									<div class="slimscroll_w4" data-scroll-position="right">
										<div class="slimscroll_w3">
											<div class="slimscroll_w2">
												<div class="slimscroll_w1">
													<div class="rtab_ct_w">
														<div class="rtab_ct active" data-rtab-ct="theme">
															<div class="rtab_ct_ct">
																<div class="rtab_ct_ct_c">
																	<div class="dtab_w">
																		<div class="dtab_nav">
																			<ul>
																				<li class="dtab_link active" data-dtab-link="basic"><span>Ogólne</span></li>
																				<li class="dtab_link" data-dtab-link="questions"><span>Pytania</span></li>
																			</ul>
																		</div>
																		<div class="dtab_ct_w">
																			<div class="dtab_ct active" data-dtab-ct="basic">
																				<div class="template_boxes">
																					{if count($presentation_types.general) > 0}
																						{foreach from=$presentation_types.general item=type}
																							<div class="template_box{if $type.disabled} disabled{/if}" data-presentation="slide-type" data-type-id="{$type.id}">
																								<div class="template_box_l"></div>
																								<div class="template_box_c">
																									<div class="template_box_ct">
																										<div class="template_box_ct_c">
																											<div class="template_box_hover"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-check-circle"></use></svg></div>
																											<div class="template_box_details_w">
																												<div class="template_box_details">
																													<div class="template_box_details_c">
																														<div class="template_box_icon{if empty($type.name)} s10x6{/if}"><svg><use xlink:href="{url mode="root"}theme/dobry-start/{$type.svg}"></use></svg></div>
																														{if !empty($type.name)}
																															<div class="template_box_desc">{$type.name}</div>
																														{/if}
																													</div>
																												</div>
																											</div>
																											<img src="{url mode="root"}theme/dobry-start/images/size_10x6.png" class="size" alt="">
																										</div>
																									</div>
																								</div>
																								<div class="template_box_r"></div>
																							</div>
																						{/foreach}
																					{/if}
																				</div>
																			</div>
																			<div class="dtab_ct" data-dtab-ct="questions">
																				<div class="template_boxes">
																					{if count($presentation_types.question) > 0}
																						{foreach from=$presentation_types.question item=type}
																							<div class="template_box{if $type.disabled} disabled{/if}" data-presentation="slide-type" data-type-id="{$type.id}">
																								<div class="template_box_l"></div>
																								<div class="template_box_c">
																									<div class="template_box_ct">
																										<div class="template_box_ct_c">
																											<div class="template_box_hover"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-check-circle"></use></svg></div>
																											<div class="template_box_details_w">
																												<div class="template_box_details">
																													<div class="template_box_details_c">
																														<div class="template_box_icon{if empty($type.name)} s10x6{/if}"><svg><use xlink:href="{url mode="root"}theme/dobry-start/{$type.svg}"></use></svg></div>
																														{if !empty($type.name)}
																															<div class="template_box_desc">{$type.name}</div>
																														{/if}
																													</div>
																												</div>
																											</div>
																											<img src="{url mode="root"}theme/dobry-start/images/size_10x6.png" class="size" alt="">
																										</div>
																									</div>
																								</div>
																								<div class="template_box_r"></div>
																							</div>
																						{/foreach}
																					{/if}
																				</div>
																			</div>
																		</div>
																	</div>
																</div>
															</div>
														</div>
														<div class="rtab_ct" data-rtab-ct="content" data-presentation="slide-form">
															<div class="rtab_ct_ct">
																<div class="rtab_ct_ct_c">
																	<form method="post" class="form-horizontal">
																		
																	</form>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="hide">
		<div class="template-slide">
			<div class="slide" id="slide_[slide-id]" data-presentation="slide" data-slide-index="[slide-index]" data-slide-id="[slide-id]" data-slide-type="[slide-type]" data-slide-preview="[slide-preview]">
				<div class="slide_ct">
					<div class="slide_ct_c">
						<div class="slide_ct_ct bg">
							<div class="slide_ct_ct_c">
								<div class="actions">
									<div class="action action_number"><div class="action_c" data-presentation="slide-index">[slide-index]</div></div>
									<div class="action action_remove" data-presentation="slide-remove"><div class="action_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"></use></svg><i class="fa fa-trash" aria-hidden="true"></i></div></div>
									{*<a href="" class="action action_edit"><div class="action_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-pencil"></use></svg><i class="fa fa-pencil" aria-hidden="true"></i></div></a>*}
									<div class="action action_duplicate" data-presentation="slide-duplicate"><div class="action_c"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-copy"></use></svg><i class="fa fa-copy" aria-hidden="true"></i></div></div>
								</div>
								<div data-presentation="slide-icon">
									<div class="slide_title_w">
										<div class="slide_title"><div class="slide_title_c">Pusty slajd</div></div>
									</div>
								</div>
								<img class="size" src="{url mode="root"}theme/dobry-start/images/size_10x6.png" alt="">
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="template-slide-preview-empty"><div class="slide_preview_inner_ct slide_type_1_1"><div class="slide_preview_inner_ct_c"><div class="slide_preview_title clear font_320">Wybierz szablon z prawej strony</div></div></div></div>
		<div class="template-option-text"><div class="input-group"><span class="input-group-addon input-group-addon-move"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-move"/></svg></span><input type="text" name="options[]" value="" class="form-control"><span class="input-group-addon input-group-addon-btn" data-presentation="slide-form-option-remove"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"/></svg></span></div></div>
		<div class="template-option-text-with-max-length"><div class="input-group"><span class="input-group-addon input-group-addon-move"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-move"/></svg></span><input type="text" name="options[]" value="" class="form-control fn_data_max_length" data-max-length="40"><span class="input-group-addon input-group-addon-max-length">40</span><span class="input-group-addon input-group-addon-btn" data-presentation="slide-form-option-remove"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"/></svg></span></div></div>
		<div class="template-option-text-with-max-length-correct"><div class="input-group input-group-quiz-answer"><span class="input-group-quiz-answer-c1 input-group-addon input-group-addon-move"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-move"/></svg></span><input type="text" name="options[[index]]" value="" class="input-group-quiz-answer-c2 form-control fn_data_max_length" data-max-length="40"><span class="input-group-quiz-answer-c3 input-group-addon input-group-addon-max-length">40</span><span class="input-group-quiz-answer-c4 input-group-addon input-group-addon-btn" data-presentation="slide-form-option-remove"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"/></svg></span><span class="input-group-quiz-answer-c5 input-group-addon input-group-addon-checkbox"><div class="checkbox checkbox-info checkbox-circle"><input type="checkbox" id="answer_[index]" name="correct[[index]]" value="1"><label for="answer_[index]"></label></div></span></div></div>
		<div class="template-option-text-with-image"><div class="input-group"><span class="input-group-addon input-group-addon-move"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-move"/></svg></span><input type="text" name="options[[index]]" value="" class="form-control fn_data_max_length" data-max-length="40"><span class="input-group-addon input-group-addon-btn input-group-bg-image" data-presentation="optionImage" data-file="options_images[[index]]" style="position: relative;"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-image"/></svg><input type="file" name="file_[index]" style="position: absolute; top: 0; right: 0; margin: 0; opacity: 0; filter: alpha(opacity=0); font-size: 23px; height: 100%; width: 100%; direction: ltr; cursor: pointer;"><input type="hidden" name="options_images[[index]]" value=""></span><span class="input-group-addon input-group-addon-btn" data-presentation="slide-form-option-remove" style="position: relative; z-index: 2;"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-trash"/></svg></span></div></div>
	</div>
	<div id="modal_slide_options_limit" class="modal fade" aria-hidden="true">
		<div class="modal-dialog modal-md">
			<div class="modal-content">
				<div class="modal-header text-center">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Zamknij</span></button>
					<h4 class="modal-title">Osiągnięto limit</h4>
				</div>
				<div class="modal-body text-center">
					<div class="row">
						<div class="col-xs-12">
							<p>Wprowadziłeś już maksymalną ilość opcji.</p>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<div class="text-center">
						<button type="submit" class="btn btn-primary m-l-sm" data-dismiss="modal"><strong>Zamknij</strong></button>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="modal_slide_remove" class="modal fade" aria-hidden="true">
		<form action="" method="post">
			<div class="modal-dialog modal-md">
				<div class="modal-content">
					<div class="modal-header text-center">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Zamknij</span></button>
						<h4 class="modal-title">Usuwanie slajdu</h4>
					</div>
					<div class="modal-body text-center">
						<div class="row">
							<div class="col-xs-12">
								<p>Czy na pewno chcesz usunąć slajd nr <span data-presentation="slide-remove-index"></span>?</p>
								<div class="info_slide_preview_w">
									<div class="info_slide_preview">
										<div class="info_slide_preview_c"><img class="info_slide_preview_img" src="{url mode="root"}theme/dobry-start/images/slide_type_1_1.jpg" alt=""></div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<div class="text-center">
							<button type="button" class="btn btn-white m-r-sm" data-dismiss="modal">Nie</button>
							<button type="submit" class="btn btn-primary m-l-sm"><strong>Tak</strong></button>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	<div id="modal_remove_results" class="modal fade" aria-hidden="true">
		<form action="" method="post">
			<div class="modal-dialog modal-md">
				<div class="modal-content">
					<div class="modal-header text-center">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Zamknij</span></button>
						<h4 class="modal-title">Usuwanie wyników</h4>
					</div>
					<div class="modal-body text-center">
						<div class="row">
							<div class="col-xs-12">
								<p>Czy na pewno chcesz usunąć wyniki quizu dla tego pytania?<br></p>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<div class="text-center">
							<button type="button" class="btn m-l-sm" data-dismiss="modal"><strong>Nie</strong></button>
							<button type="submit" class="btn btn-primary m-l-sm"><strong>Tak</strong></button>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	<div id="modal_all_remove_results" class="modal fade" aria-hidden="true">
		<form action="" method="post">
			<div class="modal-dialog modal-md">
				<div class="modal-content">
					<div class="modal-header text-center">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Zamknij</span></button>
						<h4 class="modal-title">Usuwanie wszystkich wyników</h4>
					</div>
					<div class="modal-body text-center">
						<div class="row">
							<div class="col-xs-12">
								<p>Czy na pewno chcesz usunąć wszystkie wyniki dla tej prezentacji?<br></p>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<div class="text-center">
							<button type="button" class="btn m-l-sm" data-dismiss="modal"><strong>Nie</strong></button>
							<button type="submit" class="btn btn-primary m-l-sm"><strong>Tak</strong></button>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	<div id="modal_remove_reactions" class="modal fade" aria-hidden="true">
		<form action="" method="post">
			<div class="modal-dialog modal-md">
				<div class="modal-content">
					<div class="modal-header text-center">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Zamknij</span></button>
						<h4 class="modal-title">Usuwanie reakcji</h4>
					</div>
					<div class="modal-body text-center">
						<div class="row">
							<div class="col-xs-12">
								<p>Czy na pewno chcesz usunąć zapisane reakcje dla tego slajdu?<br></p>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<div class="text-center">
							<button type="button" class="btn m-l-sm" data-dismiss="modal"><strong>Nie</strong></button>
							<button type="submit" class="btn btn-primary m-l-sm"><strong>Tak</strong></button>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	{*<div id="modal_change_slide_type" class="modal fade" aria-hidden="true">
		<form>
			<div class="modal-dialog modal-md">
				<div class="modal-content">
					<div class="modal-header text-center">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Zamknij</span></button>
						<h4 class="modal-title">Zmiana typu slajdu</h4>
					</div>
					<div class="modal-body text-center">
						<div class="row">
							<div class="col-xs-12">
								<p>Czy na pewno chcesz zmienić typ slajdu nr 1?<br><strong>Zmiana typu slajdu usunie jej zawartość.</strong></p>
								<div class="change_slide_type_ct">
									<div class="change_slide_type_ct_l">
										<div class="info_slide_preview_w">
											<div class="info_slide_preview">
												<div class="info_slide_preview_c"><img class="info_slide_preview_img" src="{url mode="root"}theme/dobry-start/images/slide_type_1_1.jpg" alt=""></div>
											</div>
										</div>
									</div>
									<div class="change_slide_type_ct_s"><div><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-chevron-right"></use></svg></div></div>
									<div class="change_slide_type_ct_r">
										<div class="info_slide_preview_w">
											<div class="info_slide_preview">
												<div class="info_slide_preview_c"><img class="info_slide_preview_img" src="images/slide_type_1_1.jpg" alt=""></div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<div class="text-center">
							<button type="button" class="btn btn-white m-r-sm" data-dismiss="modal">Nie</button>
							<button type="submit" class="btn btn-primary m-l-sm"><strong>Tak</strong></button>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>*}
{/block}

{block name=styles}
	<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<link href="https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
	<link rel="shortcut icon" type="image/x-icon" href="{url mode="root"}theme/dobry-start/images/favicon.ico">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/styles/css/main.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/styles/css/font-awesome.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/styles/css/chartist.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/styles/css/chartist-plugin-tooltip.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/styles/css/jqcloud.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/jasny/jasny-bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/animate.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/style.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/iCheck/custom.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/datapicker/datepicker3.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/daterangepicker/daterangepicker-bs3.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/jQueryUI/jquery-ui-1.10.4.custom.min.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/jqGrid/ui.jqgrid.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/summernote/summernote.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/clockpicker/clockpicker.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/ionRangeSlider/v220/ion.rangeSlider.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/ionRangeSlider/v220/ion.rangeSlider.skinLMD.css">
	<link rel="stylesheet" type="text/css" href="{url mode="root"}theme/dobry-start/tools/inspinia/css/plugins/touchspin/jquery.bootstrap-touchspin.min.css">
{/block}

{block name=scripts}
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/svgxuse.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/slick.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/jqcloud.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/plugins/jquery-ui/jquery-ui.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/plugins/jasny/jasny-bootstrap.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/jquery.ui.touch-punch.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/plugins/ionRangeSlider/v220/ion.rangeSlider.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/plugins/chartJs/Chart.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/chartist.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/chartist-plugin-tooltip.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/chartist-plugin-bar-labels.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/inspinia/js/plugins/touchspin/jquery.bootstrap-touchspin.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/jquery.countdown360.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/newWaterfall.js"></script>
	<script type="text/javascript" src="{url mode="root"}theme/dobry-start/tools/js/main.js"></script>
	<script type="text/javascript" src="{url mode="root"}public/scripts/jquery.form.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}public/scripts/html2canvas.min.js"></script>
	<script type="text/javascript" src="{url mode="root"}public/scripts/presentation.js"></script>
	<script type="text/javascript" src="{url mode="root"}public/scripts/tools.js"></script>
	<script type="text/javascript">
		$(document).ready(function () {
			$("#wrapper").presentation({
				url: '{url controller="index" action="index"}',
				identifier: '{$_MODEL.id}'
			});
		});
	</script>
{/block}