@page "/rezept/{id}"
@model RezeptModel
@if (Model.Rezept == null) { return; }
@{ var r = Model.Rezept; }
← Zurück zur Übersicht
@r.Titel
@r.Beschreibung
@if (!string.IsNullOrEmpty(r.Bild))
{

}
Zutaten
@foreach (var z in r.Zutaten)
{
-
@z.Name
@z.Menge
}
Zubereitung
@foreach (var step in r.Zubereitung)
{
- @step
}
@if (!string.IsNullOrEmpty(r.Notizen))
{
}
@if (r.Quelle != null)
{
Quelle:
@r.Quelle.Name
@if (!string.IsNullOrEmpty(r.Quelle.Autor))
{
von @r.Quelle.Autor
}
}