Files

16 lines
870 B
Plaintext
Raw Permalink Normal View History

2026-06-01 22:08:43 +03:30
@page
@model AsadiTools.Pages.Admin.Products.CreateModel
@{ ViewData["Title"] = "افزودن محصول"; Layout = "_AdminLayout"; }
<div class="p-6 md:p-8 max-w-2xl">
<h1 class="text-2xl font-extrabold text-gray-900 mb-8">افزودن محصول جدید</h1>
<form method="post" class="bg-white rounded-2xl border border-gray-100 p-6 space-y-5">
@Html.AntiForgeryToken()
@await Html.PartialAsync("_ProductFormFields", Model.Input)
<div class="flex gap-3">
<button type="submit" class="flex-1 bg-blue-700 text-white py-3 rounded-xl font-bold hover:bg-blue-800 transition-colors">افزودن محصول</button>
<a href="/Admin/Products" class="px-5 border border-gray-200 rounded-xl text-sm text-gray-600 hover:bg-gray-50 transition-colors flex items-center">انصراف</a>
</div>
</form>
</div>