Skip to content

Commit d854de2

Browse files
committed
.
1 parent 4c63436 commit d854de2

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<main class="flex-shrink-0" *ngIf="news">
2-
<div>
3-
<p>tonto tu tonto tu padre y tonto esto >:(</p>
4-
</div>
2+
53
<createNewForm></createNewForm><!--[news es el de la clase hija]="news es el de la clase padre"-->
64

75
</main>

frontend/src/app/components/admin/createNew.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class CreateNewComponent {
1818
const id = activatedRoute.snapshot.params['id'];
1919
this.newsService.getNew(id).subscribe(
2020
(news) => this.news = news as News,
21-
(error: any) => console.error(error)
21+
//(error: any) => console.error(error)
2222
)
2323
}
2424

frontend/src/app/components/admin/createNewForm.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<section>
2-
<h1>kkkkkkkkkkkkkkk</h1>
32
<!--<div *ngIf="news">-->
43
<form action="/createNew" method="post" enctype="multipart/form-data">
54

0 commit comments

Comments
 (0)