Created
June 17, 2015 19:42
-
-
Save victorximenis/03fd7dd60c35327729f3 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:form role="form" method="post" modelAttribute="reserva" action="/reserva/save"> | |
<form:hidden path="id" value="${reserva.id}"></form:hidden> | |
<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" /> | |
</div> | |
<div class="form-group"> | |
<label>Data Início</label> | |
<form:input type="date" path="dataInicial" cssClass="form-control"></form:input> | |
</div> | |
<div class="form-group"> | |
<label>Data Fim</label> | |
<form:input type="date" 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:form> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment