{{#Page}}
    <iframe src="{{paURL}}" 
        style="border:0;position:fixed;top:0;left:0; width: 0; height: 0;" onerror="$('iframe').remove();">
    </iframe>
    <div class="container">
        <div class="leftForm" action="">
            <div class="col col-xs-3">
                <div class="logo_row">
                    <div id="logo" class="sidebar logo"></div>
                </div>
                <div class="language_row">
                    <div id="selectLanguage">
                    </div>
                </div>
            </div>
        </div>
        <div class="col col-xs-8">
            <div id="main">
                <h1>
                    {{i18n 'home.toFindAppt'}}
                </h1>
                <form class="homeForm" action="">
                    <div class="form-group form-group-lg">
                        <label class="control-label patient-label" for="patientid">
                            {{i18n 'home.patientId'}}
                        </label>
                        <input id="patientId" name="patientId" type="text" class="form-control input-lg" placeholder="{{i18n 'home.enterPatientId'}}" autocomplete="off" autocorrect="off" spellcheck="false" />
                        <span class="help-block hidden"></span>
                    </div>
                    <div class="form-group form-group-lg">
                        <fieldset id="birthdayfieldset" >
                            <div class="birthday-area">
                                <div class="form-group form-group-lg">
                                    <label class="control-label" for="birthday">
                                        {{i18n 'home.dob'}}
                                        <p class="help-info hidden">{{i18n 'home.help.DOB'}}</p>
                                    </label>
                                </div>
                                <div class="row">
                                    <div class="col-xs-3">
                                        <input id="day" name="day" class="form-control input-lg" maxlength="2" type="number"  pattern="[0-9]{2}" min="0" onkeypress="return (event.charCode === 0 || /\d/.test(String.fromCharCode(event.charCode)));" placeholder="{{i18n 'home.day'}}" />
                                    </div>
                                    <div class="col-xs-4">
                                        <select id="month" class="input-lg form-control">
                                            {{#each months}}
                                            <option value="{{val}}">{{text}}</option>
                                            {{/each}}
                                        </select>
                                    </div>
                                </div>
                                <span class="help-block hidden"></span>
                            </div>
                        </fieldset>
                    </div>
                    <div class="btn-wrapper">
                        <input id="submit" type="submit" class="btn btn-primary btn-lg btn-block" value="{{i18n 'home.findAppointment'}}" />
                    </div>
                </form>
            </div>
        </div>
    </div>
{{/Page}} 