{{#if record}}
<div id="question-header" class="row">
    <div class="col-xs-6 col-sm-7 col-md-8 col-lg-8">
        <h3 class="control-label col-xs-offset-2">
            {{record.QuestionText}}
            {{#ifNotEquals record.Type 0}}
            <span class="whitespace-nowrap">
                <input class="lg-radio" type="radio" name="yesno" value="true" checked>
                <label class="whitespace-nowrap" >{{i18n 'yes'}}</label>
                <input class="lg-radio" type="radio" name="yesno" value="false">
                <label class="whitespace-nowrap">{{i18n 'no'}}</label>
            </span>
            {{/ifNotEquals}}
        </h3>
    </div>
    <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
        <input id="continue" class="btn btn-primary btn-lg" value="{{i18n 'continue'}}" readonly="readonly"></input>
    </div>
</div>
<div id="report-container" class="col-xs-8 col-xs-offset-2 col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
    <iframe src="{{src}}" id="report" name="report" scrolling="no" style="display:none;border:0;width:100%;height:100vh;">
    </iframe>
</div>
{{else}}
<div id="question-header" class="row">
    <div class="col-xs-6 col-sm-7 col-md-8 col-lg-8">
    </div>
    <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
        <input id="continue" class="btn btn-primary btn-lg" value="{{i18n 'continue'}}"></input>
    </div>
</div>
<div id="report-container" class="col-xs-8 col-xs-offset-2 col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
    {{#each messages}}
    <div class="col-xs-6 col-sm-7 col-md-8 col-lg-8">
        <h3 class="control-label col-xs-offset-2">
            {{this}}
        </h3>
    </div>
    {{/each}}
</div>
{{/if}}
