{if !isset($slideUpdate)}<div class="p_slide slide_type_2_3" data-slide="{$_MODEL.board_id}">{/if}
	<div class="p_slide_box_t"></div>
	<div class="p_slide_box_m">
		<div class="p_slide_box_m_m_inner">
			<div class="slide_preview_inner_ct">
				<div class="slide_preview_inner_ct_c">
					{if !empty($_MODEL.name)}
						<div class="slide_preview_title clear font_200">{$_MODEL.name}</div>
					{/if}
					{if !empty($_MODEL.config.description)}
						<div class="slide_preview_desc clear font_120">{$_MODEL.config.description|nl2br}</div>
					{/if}
					<div class="space space_40 clear"></div>
					<div class="chart_box_w">
						<div class="chart_box chart_type_5">
							<div class="chart_box_l">
								<div class="chart">
									<div class="chart_ct">
										<div class="chart_ct_row">
											<div class="chart_ct_cell cell_left">
												<div class="rotated_desc_w">
													<div class="rotated_desc">{$_MODEL.config.min_label}</div>
												</div>
											</div>
											<div class="chart_ct_cell cell_center">
												{if $_MODEL.config.show_avg == "1"}
													<div class="chart_avg_line" style="left: {$_MODEL.results.avg.percent}%;"><div class="chart_avg_line_value">{$_MODEL.results.avg.value}</div></div>
												{/if}
												{foreach from=$_MODEL.options item=option}
													<div class="chart_bar">
														<div class="chart_bar_desc">{$option.text}</div>
														<div class="chart_bar_line">
															<div class="chart_bar_line_value" style="left: {$option.result.percent}%;">{$option.result.value}</div>
															<div class="chart_bar_line_bg" style="width: {$option.result.percent}%;"></div>
														</div>
													</div>
												{/foreach}
											</div>
											<div class="chart_ct_cell cell_right">
												<div class="rotated_desc_w">
													<div class="rotated_desc">{$_MODEL.config.max_label}</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					{if !empty($_MODEL.config.image)}
						<div class="space space_20 clear"></div>
						<div class="hidden_image">
							<div class="hidden_image_ct">
								<div class="hidden_image_ct_c"><img src="{url mode="root"}public/upload/slides/{$_MODEL.config.image}" alt=""></div>
							</div>
						</div>
						<div class="hidden_image_button_w">
							<div class="hidden_image_button">
								<div class="image_show">Pokaż obrazek</div>
								<div class="image_hide">Ukryj obrazek</div>
							</div>
						</div>
					{/if}
				</div>
			</div>
		</div>
		<div class="p_slide_box_m_b">
			<div class="icons_w">
				<div class="icons_w_l"></div>
				<div class="icons_w_r">
					<div class="icons">
						<div class="icon">
							<div class="icon_img"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-user"></use></svg></div>
							<div class="icon_value">{$_MODEL.users}</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="p_slide_box_b"></div>
{if !isset($slideUpdate)}</div>{/if}