Update: Rental Form Styles
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m10s
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m10s
This commit is contained in:
@@ -11,25 +11,38 @@
|
||||
<h1>Rent</h1>
|
||||
|
||||
<form @onsubmit="RentCar">
|
||||
<InputSelect @bind-Value="_vehicleId">
|
||||
|
||||
<div class="form-group mb-3">
|
||||
<label for="vehicle">Vehicle: </label>
|
||||
<InputSelect @bind-Value="_vehicleId" id="vehicle" class="form-control" placeholder="Fahrzeug">
|
||||
@foreach (Vehicle v in _vehicles)
|
||||
{
|
||||
<option value=@v.Id>@v.Id - @v.Brand - @v.Model</option>
|
||||
}
|
||||
</InputSelect>
|
||||
</div>
|
||||
|
||||
<InputSelect @bind-Value="_customerId">
|
||||
<div class="form-group mb-3">
|
||||
<label for="customer">Kunde: </label>
|
||||
<InputSelect @bind-Value="_customerId" id="customer" class="form-control" placeholder="Kunde">
|
||||
@foreach (Customer c in _customers)
|
||||
{
|
||||
<option value=@c.Id>@c.Name</option>
|
||||
}
|
||||
</InputSelect>
|
||||
</div>
|
||||
|
||||
<InputDate @bind-Value="_from"/>
|
||||
<div class="form-group mb-3">
|
||||
<label for="from">Von: </label>
|
||||
<InputDate @bind-Value="_from" class="form-control" id="from" />
|
||||
</div>
|
||||
|
||||
<InputDate @bind-Value="_thru"/>
|
||||
<div class="form-group mb-3">
|
||||
<label for="thru">Bis: </label>
|
||||
<InputDate @bind-Value="_thru" class="form-control" id="thru" />
|
||||
</div>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
<button type="submit" class="btn btn-primary">Mieten!</button>
|
||||
</form>
|
||||
|
||||
@code {
|
||||
|
||||
Reference in New Issue
Block a user