|
|
@ -29,12 +29,26 @@ |
|
|
|
<div class="card-body"> |
|
|
|
<form th:action="@{/public/maquetas/{id}(id=${maqueta.idMaqueta})}" th:object="${maqueta}" method="post"> |
|
|
|
<input type="hidden" th:field="*{idMaqueta}" th:value="${maqueta.idMaqueta}"/> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Piloto: </label> |
|
|
|
<input type="text" name="piloto" th:field="*{piloto}" |
|
|
|
class="form-control" placeholder="Piloto: " required> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Marca del coche: </label> |
|
|
|
<input type="text" name="marca" th:field="*{marca}" |
|
|
|
class="form-control" placeholder="Marca coche: " required> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Marca del coche: </label> |
|
|
|
<input type="text" name="modelo" th:field="*{modelo}" |
|
|
|
class="form-control" placeholder="Modelo coche: " required> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Descripcion: </label> |
|
|
|
<input type="text" name="descripcion" th:field="*{descripcion}" |
|
|
|
class="form-control" placeholder="Descripción de la maqueta: " required> |
|
|
|
</div> |
|
|
|
<br/> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Precio: </label> |
|
|
|
<input type="number" name="precio" th:field="*{precio}" |
|
|
|