{% verbatim %}

	<script data-b2c-component-checkout-nomes type="text/x-handlebars-template">

		{{#isNotEmpty reservaNomeList}}
			<h1>
			    {{__ 'dadosDosHospedes'}}
			</h1>
			{{#isDev }}
                <button
                    type="button"
                    class="button"
                    style="position: absolute;top: -3px;right: 19px;width: 220px;height: 26px;line-height: 26px;font-size: 12px;"
                    onclick="CompleteDevelopementCheckoutForm.completaFormReserva();return false;">
                        Completar formulário (DEV)
                </button>
            {{/isDev}}

			<form action="">
				{{#each reservaNomeList }}
					{{#each quartos}}
						<div class="quarto" data-b2c-quarto data-b2c-parametro="{{ keyUhParametro }}">
							{{#notNull nmQuarto }}
								<h2>
                                    {{sum @index 1 }} - {{nmQuarto}}
                                </h2>
							{{/notNull }}

							{{#each reservaNome}}
								<div class="row passageiro" data-b2c-passageiro="{{ @index }}">
									{{#ifMaior @index 0}}
										<span class="separator"></span>
									{{/ifMaior}}
									<div class="col-md-4">
										<label for="">
											{{__ 'nome'}}
											({{montaPaxTipoReservaNome this}})
											<span>*</span>
										</label>
										<input type="text" name="nmNome" maxlength="40" data-b2c-input="nome">
									</div>
									<div class="col-md-4">
										<label for="">
											{{__ 'sobrenome'}}
											<span>*</span>
										</label>
										<input type="text" name="nmSobrenome" maxlength="40" data-b2c-input="sobrenome">
									</div>
									<div class="col-md-4">
										<label for="">
											{{__ 'nascimento'}}
											<span>*</span>
										</label>
										<input type="text" name="dtNascimento" data-b2c-input="dtNascimento" placeholder="{{#ifNotCond (getB2CLang) 'en_US'}}DD/MM/YYYY{{/ifNotCond }}{{#ifCond (getB2CLang) 'en_US'}}MM/DD/YYYY{{/ifCond }}"/>
										<input type="hidden" data-b2c-input="paxTipo" value="{{ paxTipo }}"/>
										<input type="hidden" data-b2c-input="qtIdade" value="{{ qtIdade }}"/>
									</div>
									<div class="col-md-4">
										<label for="">
											{{ __ 'sexo' }}
											<span>*</span>
										</label>
										<select name="tpSexo" data-placeholder="Sexo" data-b2c-input="sexo-passageiro">
											<option value="MASCULINO">{{ __ 'masculino' }}</option>
											<option value="FEMININO">{{ __ 'feminino' }}</option>
										</select>
									</div>
									{{#if ../../../stHabilitaDoc}}
										{{#ifNotCond (getB2CLang) 'en_US'}}
											<div class="col-md-4">
												<label for="">
													{{__ 'documento'}}
													<span>*</span>
												</label>
												<div class="form-group">
													<select class="select-doc" name="tpDocumento" data-text-passaporte="{{__ 'passaporte'}}" data-text-cpf="CPF" data-text-rg="RG" data-b2c-doc-switch-passageiro>
														{{#each (getDocPaxList) }}
                                                            <option value="{{ value }}" {{#if selected }} selected="selected" {{/if}}>{{ option }}</option>
                                                        {{/each}}
													</select>
													<input type="text" name="nrDocumento" data-b2c-input="nrDocumento" data-b2c-input-tipo="cpf" placeholder="">
												</div>
											</div>
										{{/ifNotCond}}
									{{/if}}
								</div>
							{{/each}}
						</div>
					{{/each}}
				{{/each}}

			</form>
		{{/isNotEmpty}}

	</script>

{% endverbatim %}
