Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/EjercitarWeb/WebContent/Asignatura.jsp
blob: f7323eb78117c5fbc8e47dbcb8be570761e463bc (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="templateCSS.jsp" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Asignatura</title>
</head>
<body>
<%@page import="model.Curso"  import="java.util.List" %>
<div id="content">
<form id="form1" name="form1" method="post" action="">

<fieldset>
	<p>
		<label>Nombre</label>
		 <input type="text" name="nombre" />
	</p>
	<p>
		<label>Descripcion</label>
		<input type="text" name="descripcion"/>
	</p>
	<p>
		<label>Curso:</label>
		<select id="curso" name="curso">
				<% List<Curso> cursos = (List<Curso>) request.getAttribute("lista_cursos"); %>
				<% for(Curso curso : cursos) {%>
					<option value="<%= curso.getIdCurso() %>"><%= curso.getEscuela().getNombre() + " " + curso.getSeccion() + " " + curso.getTurno()   %></option>
				<% } %>
			</select>
	</p>
	
	<p>
		<label>Usar plantilla:</label>
		<select id="plantilla" name="plantilla" value="Seleccione una plantilla" default="asdf">
			
				<option value="0"> Seleccione una opcion..</option> 
				<option value="1"> Matematica </option>
			</select>
	</p>
		<p class="nolabel">
				 <button type="submit" name="Submit"> <img src="css/img/guardar.png" align="middle"/> Guardar </button>

				</p>


</fieldset>

</form>
</div>
</body>
</html>