<ng-include src="'/intranet/quiz/html/includes/infoboxes/survey_preview_mode.html'"></ng-include>
<div class="row">
	<div class="col-md-4  my-3 my-md-0" ng-hide="!content.image_url">
		<img class="img-fluid" ng-src="{{ content.image_url }}">
	</div>

	<div ng-class="!content.image_url ? 'col-sm-12' : 'col-md-8'">
		<div class="row">
			<div class="col-md-10">
				<h3 class="quiz-title title" ng-bind="content.title">[title]</h3>
				<h4 ng-if="completition_msg === null" lmsg="quiz.survey.info.thank_you">[Thanks for your response!]</h4>
				<h4 ng-if="completition_msg !== null" ng-bind="completition_msg"></h4>
				<p ng-if="results.show_results == 1 && !results.manage"><txt lmsg="quiz.survey.info.results">[Results will be revealed when voting ends]</txt></p>
			</div>
			<div class="col-md-2">
				<div class="float-right">
					<cla-share canonical_url="{{canonicalUrl}}"></cla-share>
				</div>
			</div>
		</div>

		<div class="page-actions">
			<a href="/polls-surveys/?type=survey" class="btn btn-primary"><txt lmsg="quiz.survey.info.done">[Done]</txt></a>
			<a href="/polls-surveys/survey/{{ survey_id }}/results" ng-if="(results.show_results === '2' || results.manage) && !preview" class="btn btn-next-question btn-primary mt-3 mb-3" lmsg="quiz.survey.info.view_results">View results</a>
		</div>
	</div>
</div>
