Browse Source

Added catch for validation errors as a paste.

pull/29/head
Teknikode 7 years ago
parent
commit
14649912a7
  1. 5
      Teknik/Areas/Paste/Views/Paste/Index.cshtml

5
Teknik/Areas/Paste/Views/Paste/Index.cshtml

@ -6,6 +6,11 @@ @@ -6,6 +6,11 @@
@Scripts.Render("~/bundles/paste")
<div class="container">
<div class="row">
<div class="col-sm-10 col-sm-offset-1 text-center">
<b>@Html.ValidationSummary(true, "The input is not valid")</b>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<form class="form-horizontal" name="editor" method="post" action="@Url.SubRouteUrl("paste", "Paste.Action", new { action = "Paste" })">

Loading…
Cancel
Save