28 lines
762 B
Plaintext
28 lines
762 B
Plaintext
@using FoodsharingSiegen.Contracts.Entity
|
|
@inherits FsBase
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<Field>
|
|
<FieldLabel>Name</FieldLabel>
|
|
<TextEdit @bind-Text="Prospect.Name"/>
|
|
</Field>
|
|
</div>
|
|
<div class="col">
|
|
<Field>
|
|
<FieldLabel>Foodsharing-ID</FieldLabel>
|
|
<NumericEdit TValue="int" @bind-Value="Prospect.FsId"></NumericEdit>
|
|
</Field>
|
|
</div>
|
|
</div>
|
|
|
|
<Field>
|
|
<FieldLabel>Info (optional)</FieldLabel>
|
|
<TextEdit @bind-Text="Prospect.Memo" Placeholder="Beliebige Info"></TextEdit>
|
|
</Field>
|
|
|
|
<Field>
|
|
<Switch TValue="bool" @bind-Checked="Prospect.Warning">Achtung!</Switch>
|
|
</Field>
|
|
|
|
<Button Color="Color.Primary" Clicked="@SaveClick">@SaveButtonText</Button> |