feature: add blazor app
This commit is contained in:
22
FahrzeugeMVC/Views/Fahrzeug/Einfuegen.cshtml
Normal file
22
FahrzeugeMVC/Views/Fahrzeug/Einfuegen.cshtml
Normal file
@@ -0,0 +1,22 @@
|
||||
@model FahrzeugEinfugenModel
|
||||
|
||||
<p>Fügen sie ein neues Fahrzeug hinzu:</p>
|
||||
|
||||
<form asp-controller="Fahrzeug" asp-action="Einfuegen">
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
|
||||
<div>
|
||||
<label class="control-label">Name</label>
|
||||
<input asp-for="Name" class="form-control"/>
|
||||
<span asp-validation-for="Name" class="text-danger"></span>
|
||||
</div>
|
||||
<div>
|
||||
<label class="control-label">Type</label>
|
||||
<select asp-for="Type" asp-items="Model.FahrzeugTypen" class="form-control"></select>
|
||||
<span asp-validation-for="Type" class="text-danger"></span>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="form-group">
|
||||
<input type="submit" value="Submit" class="btn bg-primary" />
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user