@Html.Partial("/Areas/admin/Views/Poll/AddPoll.cshtml",new Mvc_baker.Areas.admin.Models.pollquestion());
@model Mvc_baker.Areas.admin.Models.pollquestion <link href="~/Content/bootstrapvalidform.css" rel="stylesheet" /> {@using (Html.BeginForm(actionName: "AddPoll", controllerName: "Poll")) @Html.ValidationSummary(true, "", new { @class = "text-danger" }) <form class=""> <div class="col-md-6"> <div class="panel panel-primary"> <label class="control-label">پرسش</label> @Html.TextBoxFor(m => m.QuestionText, new { id = "Name",style="width:450px", @class = "form-control" }) @Html.ValidationMessageFor(m => m.QuestionText) <input class="btn btn-primary btn-default" name="commit" value="register" type="submit"> </div> </div> </form> }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)