Spaces:
Sleeping
Sleeping
Download Views/Customers/Create.cshtml from azizproject/Oilshop: direct link, hf CLI and curl.
- Browser
- Download file 2.7 kB
-
https://huggingface.co/spaces/azizproject/Oilshop/resolve/main/Views/Customers/Create.cshtml
- Command line
-
hf download hf://spaces/azizproject/Oilshop/Views/Customers/Create.cshtml
-
curl -L -o Create.cshtml https://huggingface.co/spaces/azizproject/Oilshop/resolve/main/Views/Customers/Create.cshtml
2.7 kB
| @model OilShopManagement.Models.Customer | |
| @{ | |
| ViewData["Title"] = "عميل جديد"; | |
| } | |
| <div class="d-flex align-items-center gap-3 mb-4"> | |
| <a href="/Customers" class="btn btn-outline-secondary rounded-circle" style="width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center"> | |
| <i class="bi bi-arrow-right"></i> | |
| </a> | |
| <h4 class="fw-bold mb-0">إضافة عميل جديد</h4> | |
| </div> | |
| <div class="card" style="max-width:600px"> | |
| <div class="card-body"> | |
| <form asp-action="Create" method="post"> | |
| @Html.AntiForgeryToken() | |
| <div class="row g-3"> | |
| <div class="col-md-6"> | |
| <label asp-for="Name" class="form-label fw-semibold"></label> | |
| <input asp-for="Name" class="form-control"> | |
| <span asp-validation-for="Name" class="text-danger small"></span> | |
| </div> | |
| <div class="col-md-6"> | |
| <label asp-for="Phone" class="form-label fw-semibold"></label> | |
| <input asp-for="Phone" class="form-control" type="tel"> | |
| </div> | |
| <div class="col-md-6"> | |
| <label asp-for="CarModel" class="form-label fw-semibold"></label> | |
| <input asp-for="CarModel" class="form-control" placeholder="مثال: تويوتا كامري 2022"> | |
| </div> | |
| <div class="col-md-6"> | |
| <label asp-for="PlateNumber" class="form-label fw-semibold"></label> | |
| <input asp-for="PlateNumber" class="form-control" placeholder="أ ب ج 1234"> | |
| </div> | |
| <div class="col-12"> | |
| <label asp-for="Address" class="form-label fw-semibold"></label> | |
| <textarea asp-for="Address" class="form-control" rows="2"></textarea> | |
| </div> | |
| <div class="col-12"> | |
| <label asp-for="Email" class="form-label fw-semibold"></label> | |
| <input asp-for="Email" class="form-control" type="email"> | |
| <span asp-validation-for="Email" class="text-danger small"></span> | |
| </div> | |
| <div class="col-12 d-flex gap-2"> | |
| <button type="submit" class="btn btn-primary px-4 rounded-pill"> | |
| <i class="bi bi-save2 me-2"></i>حفظ | |
| </button> | |
| <a href="/Customers" class="btn btn-outline-secondary rounded-pill">إلغاء</a> | |
| </div> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| @section Scripts { | |
| @{await Html.RenderPartialAsync("_ValidationScriptsPartial");} | |
| } | |