Manarah/Manarah.App/Views/Servers/Add.cshtml

34 lines
1.5 KiB
Plaintext
Raw Normal View History

@model Server
<div class="row g-4">
<!--begin::Col-->
<div class="col-md-6">
<!--begin::Horizontal Form-->
<div class="card card-primary card-outline mb-4">
<!--begin::Header-->
<div class="card-header">
<div class="card-title">Horizontal Form</div>
</div> <!--end::Header--> <!--begin::Form-->
<form method="post">
<!--begin::Body-->
<div class="card-body">
<div class="row mb-3">
<label asp-for="IPAddress" class="col-sm-2 col-form-label">IP address</label>
<div class="col-sm-10"> <input class="form-control" asp-for="IPAddress"> </div>
</div>
<div class="row mb-3">
<label asp-for="Description" class="col-sm-2 col-form-label">Description</label>
<div class="col-sm-10"> <textarea rows="3" class="form-control" asp-for="Description"></textarea> </div>
</div>
</div> <!--end::Body--> <!--begin::Footer-->
<div class="card-footer">
<button type="submit" class="btn btn-primary">Add</button>
<a asp-action="server" class="btn btn-light float-end">Cancel</a>
</div> <!--end::Footer-->
</form> <!--end::Form-->
</div>
<!--end::Horizontal Form-->
</div>
<!--end::Col-->
</div>