Created
June 6, 2015 19:47
-
-
Save victorximenis/aaf0d9a6cc5b8ab7440f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
<%-- | |
Created by IntelliJ IDEA. | |
User: victo | |
Date: 02/06/2015 | |
Time: 19:25 | |
To change this template use File | Settings | File Templates. | |
--%> | |
<div class="row"> | |
<div class="col-lg-6 col-lg-offset-3"> | |
<form role="form" method="post" modelAttribute="reserva" action="/reserva/save"> | |
<div class="form-group"> | |
<label>Hóspede</label> | |
<form:select path="hospede.id" items="${hospedes}" cssClass="form-control" /> | |
</div> | |
<div class="form-group"> | |
<label>Quarto</label> | |
<form:select path="quarto.id" items="${quartos}" cssClass="form-control"></form:select> | |
</div> | |
<div class="form-group"> | |
<label>Data início</label> | |
<form:input path="dataInicial" cssClass="form-control"></form:input> | |
</div> | |
<div class="form-group"> | |
<label>Data Fim</label> | |
<form:input path="dataFinal" cssClass="form-control"></form:input> | |
</div> | |
<div class="btn-group-lg"> | |
<div class="row"> | |
<div class="col-lg-6"> | |
<button type="submit" class="btn btn-primary btn-block btn-lg">Reservar</button> | |
</div> | |
<div class="col-lg-6"> | |
<a href="/reserva/list" class="btn btn-danger btn-block btn-lg">Cancelar</a> | |
</div> | |
</div> | |
</div> | |
</form> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment