angular4-testing/blog-complete/dist/blog/blog-entry.component.html

12 lines
359 B
HTML
Raw Normal View History

2017-02-27 01:44:23 +01:00
<div class="blog-entry">
<div class="blog-image">
<img [src]="entry.image" [alt]="entry.title"/>
</div>
<div class="blog-summary">
<span class="title">{{entry.title}}</span>
<p> {{entry.text}}</p>
</div>
2017-02-27 11:45:59 +01:00
<div class="blog-delete">
<button (click)="deleteBlogEntry(entry.id)">delete</button>
</div>
2017-02-27 01:44:23 +01:00
</div>