{block name=body}
	<div class="middle-box text-center loginscreen animated fadeInDown">
		<div>
			<div>
				<div class="page_login_logo"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-logo"/></svg></div>
			</div>
			<h3 class="cclear color_222 font_120">Wpisz kod prezentacji</h3>
			{if count($_FLASH_MESSAGES)>0}
				{foreach from=$_FLASH_MESSAGES item=message}
					{assign var="type_class" value="alert-success"}
					{if $message.type == 2}
						{assign var="type_class" value="alert-warning"}
					{else if $message.type == 3}
						{assign var="type_class" value="alert-danger"}
					{/if}
					<div class="info_error">{$message.message}</div>
				{/foreach}
			{/if}
			<form role="form" action="{url controller="index" action="index"}" method="post" class="m-t">
				{assign var=element value=$_MODEL->getElement("code")}
				<div class="form-group">
					<div class="input-group"><span class="input-group-addon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-key"></use></svg></span><input type="text" name="code" class="form-control" placeholder="Wpisz kod..."></div>
					{if $element->isError()}<div class="info_error">{$element->getError()}</div>{/if}
				</div>
				<button type="submit" name="__action" class="btn btn-primary block full-width m-b">
					<span>Dalej</span>
					<div class="icon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-chevron-right"></use></svg></div>
				</button>
				<div class="clear"><a href="{url controller="logowanie"}">Logowanie do panelu prezentera</a></div>
			</form>
		</div>
	</div>
{/block}
{block name=body_ue}
	<div class="ue_logo_w fadeInDown animated">
		<div class="space space_20 clear"></div>
		<div class="ue_logo"><img src="{url mode="root"}theme/dobry-start/images/ue.jpg" alt=""></div>
	</div>
{/block}