{include file="$template_path/html/header.html"}
{include file="$template_path/js/arc.html"}
{include file="$template_path/html/jstemplate.html"}
</head>
<body>
<div class="app" id="app">
	{include file="$template_path/html/mobile-nav.html"}
	<!-- content -->
	<div id="content" class="app-content box-shadow-z4" role="main">
		{include file="$template_path/html/pagenav.html"}
		<div class="app-body" id="view">
			<!-- ############ PAGE START-->
			<div class="white b-t">
				<div class="container">

					<div class="row-col">
						<div class="col-sm w-lg box w-auto-xs b-r b-l">
							{include file="$template_path/help/help_nav.html"}
						</div>
						<div class="col-sm b-r">
							<div ui-view class="padding pos-rlt">
								<div>
									<h3 class="m-t-none h2-xs">正确完成选择题，简单几步就可成为作者。</h3>

									<div class="list m-t-md">
										<form class="cd-form m-t-sm floating-labels" action="" method="post">
											{if $questions}
											{foreach from=$questions item=q name=foo}
											<h5 class="h5 m-y-md">{$lang.question} {$smarty.foreach.foo.index+1}</h5>
											<p class="h6 text-skin m-b">{$q.name}</p>
											{if isset($answers[$q.id])}
											{foreach from=$answers[$q.id] item=a}
											<label class="md-check m-r">
												<input class="has-value" id="answers_{$smarty.foreach.foo.index}_{$a.id}" name="answers[{$q.id}]" type="radio" value="{$a.id}" />
												<i class="skin"></i>
												{$a.name}
											</label>
											{/foreach}
											{/if}
											<div class="b-b p-t-md"></div>
											{/foreach}
											<div class="form-submit-left p-t" href="javascript: void(0);" onclick="$('#btn-sbm').click();">
												<button type="submit" name="submit" id="btn-sbm" class="btn skin">{$lang.check_quiz}</button>
											</div>
											{/if}
										</form>
									</div>
								</div>

							</div>
						</div>
					</div>

				</div>
			</div>
			<!-- ############ PAGE END-->
		</div>
		{include file="$template_path/html/footer.html"}
	</div>
	{include file="$template_path/html/backtop.html"}
	{include file="$template_path/html/mb-settings.html"}
	<!-- ############ LAYOUT END-->
</div>
</body>
</html>