{if !isset($slideUpdate)}<div class="p_slide slide_type_2_7" 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">
					<div class="slide_preview_title clear font_200">{$_MODEL.name}</div>
					{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_win">
							<div class="chart_box_l">
								<div class="chart">
									<div class="chart_ct">
										<div class="chart_ct_row row_bars">
											{foreach from=$_MODEL.options item=option}
												{assign var=rankClass value=""}
												{if $option.result.rank == 1}
													{assign var=rankClass value="award_gold"}
												{else if $option.result.rank == 2}
													{assign var=rankClass value="award_silver"}
												{else if $option.result.rank == 3}
													{assign var=rankClass value="award_bronze"}
												{/if}
												<div class="chart_ct_cell">
													<div class="chart_bar">
														<div class="chart_bar_icon {$rankClass}">{if !empty($rankClass)}<svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-slide-type-2-7"></use></svg>{/if}</div>
													</div>
												</div>
											{/foreach}
										</div>
										<div class="chart_ct_row row_desc">
											{foreach from=$_MODEL.options item=option}
												<div class="chart_ct_cell">
													<div class="chart_bar_desc">{$option.text}</div>
												</div>
											{/foreach}
										</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}