Files
constructdemo/ConstructorAppUI/Views/Reference/UpdateReference.cshtml
2025-05-01 15:18:30 +03:00

50 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@model UpdateReferenceDto
@{
ViewData["Title"] = "UpdateReference";
Layout = "~/Views/AdminLayout/Index.cshtml";
}
<div class="content">
<div class="container-fluid">
<h4 class="page-title">Ana Sayfa Referanslarımız İşlemleri</h4>
<div class="row">
<div class="col-md-12">
<form method="post" enctype="multipart/form-data">
<div class="card">
<div class="card-header">
<div class="card-title">Referans Güncelleme</div>
</div>
<input type="hidden" asp-for="ReferenceID" />
<div class="card-body">
<div class="form-group row">
<label for="ImageFile" class="col-md-2 col-form-label">Logo</label>
<div class="col-md-10">
<input type="file" class="form-control" name="ImageFile" id="ImageFile">
@if (!string.IsNullOrEmpty(Model.LogoUrl))
{
<img src="@Model.LogoUrl" alt="Logo" class="img-fluid mt-2" style="width: 100px; height: 100px;">
}
</div>
</div>
<div class="form-group row">
<label for="WebUrl" class="col-md-2 col-form-label">Web Adresi</label>
<div class="col-md-10">
<input type="text" class="form-control" asp-for="WebUrl" id="WebUrl">
<span asp-validation-for="WebUrl" class="text-danger"></span>
</div>
</div>
</div>
<div class="card-action">
<button class="btn btn-success">Kaydet</button>
<a href="/Reference/Index/" class="btn btn-warning ml-2">Listeye Dön</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>