crear.jsp 1.71 KB
Newer Older
Nelson Ruiz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html>
<html>
    <head>
        <title>Uh Oh Trouble in Paradise Land</title>
    </head>
    <body>
       
            <form action="/crear" method="post">
                <label for="ftitle">Titulo</label>
                <input type="text" name="ftitle" id="ftitle" >
                <br><br>
                <label for="description">Descripción</label>
                <textarea  name="description" id="description" cols="80" rows="5" > </textarea>
                <br><br>
    
                <label><input type="checkbox"  name="language_id" id="language_id" value="1"> Ingles </label><br>
                <label><input type="checkbox"  name="language_id" id="language_id" value="2"> Italiano </label><br>
                <label><input type="checkbox"  name="language_id" id="language_id" value="3"> Japones </label><br>
                <label><input type="checkbox"  name="language_id" id="language_id" value="4"> Mandarin </label><br>
                <label><input type="checkbox"  name="language_id" id="language_id" value="5"> Frances </label><br>
                <label><input type="checkbox"  name="language_id" id="language_id" value="6"> Alemán </label><br>

                <label for="length">Duración</label>
                <input type="number" name="length" id="length">
                <label for="release_year">Año de lanzamiento</label>
                <input type="number" name="release_year" id="release_year">

                <input type="submit" value="Guardar">

            </form>

    </body>


</html>