Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
BNBHospital
/
Views
/
FAQ
/
Edit File Name :
Create.cshtml
@model bnb.Models.FAQViewModel @{ ViewBag.Title = "Create"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Create FAQ</h2> @using (Html.BeginForm("Create", "FAQ", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() <div class="form-horizontal"> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) <div class="form-group"> @Html.LabelFor(model => model.Heading, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Heading, new { htmlAttributes = new { @class = "form-control", @id = "Heading" } }) @Html.ValidationMessageFor(model => model.Heading, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Question, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Question, new { htmlAttributes = new { @class = "form-control", @id = "Question" } }) @Html.ValidationMessageFor(model => model.Question, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Answer, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.TextAreaFor(model => model.Answer, new { htmlAttributes = new { @class = "form-control", @id = "Answer" } }) @Html.ValidationMessageFor(model => model.Answer, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.IsActive, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.CheckBoxFor(model => model.IsActive, new { htmlAttributes = new { @class = "form-control", @id = "IsActive" } }) @Html.ValidationMessageFor(model => model.IsActive, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> <div class="col-md-offset-2 col-md-10"> <input type="submit" value="Save" class="btn btn-primary" /> @Html.ActionLink("Back to List", "Index", null, htmlAttributes: new { @class = "btn btn-info" }) </div> </div> </div> } @section Scripts { @Scripts.Render("~/bundles/jqueryval") } <script src="~/Scripts/file.js"></script> <script> $(document).ready(function () { CKEDITOR.replace('Answer'); }); </script>
Save