瀏覽代碼

Added catch for validation errors as a paste.

tags/2.0.2
Teknikode 5 年之前
父節點
當前提交
14649912a7
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      Teknik/Areas/Paste/Views/Paste/Index.cshtml

+ 5
- 0
Teknik/Areas/Paste/Views/Paste/Index.cshtml 查看文件

@@ -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…
取消
儲存