File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
java/es/urjc/code/daw/tablonanuncios Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ public String nuevoAnuncioForm(Model model) {
5959 public String nuevoAnuncio (Model model , @ PathVariable int num ) {
6060
6161 Anuncio anuncio = anuncios .get (num - 1 );
62-
63- System .out .println (anuncio );
6462
6563 model .addAttribute ("anuncio" , anuncio );
6664
Original file line number Diff line number Diff line change 44</ head >
55< body >
66
7- < h2 > Número de anuncios ( {{num_anuncios}})</ h2 >
7+ < h2 > Nuevo anuncio ( Número de anuncios: {{num_anuncios}})</ h2 >
88
99 < form action ="/anuncio/nuevo " method ="post ">
1010 < p > Nombre: </ p >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ <h1>Bienvenido</h1>
66
77 < h1 > Tablón Anuncios</ h1 >
88 {{#anuncios}}
9- < a href ="/anuncio/{{-index}} "> {{nombre}} {{asunto}} {{-index}} </ a > < br >
9+ < a href ="/anuncio/{{-index}} "> {{nombre}} {{asunto}} </ a > < br >
1010 {{/anuncios}}
1111
1212 < br >
You can’t perform that action at this time.
0 commit comments