Skip to content

Commit

Permalink
add viewmessage renderring on 400
Browse files Browse the repository at this point in the history
  • Loading branch information
iwate committed Jul 5, 2024
1 parent c958e65 commit e02e705
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/Modd/Errors/Error400.cshtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@{
var viewData = Page.ViewData[BasicController.ViewMessageKey] as ViewMessages;
ViewBag.MetaTitle = "不正な操作";
}
<main class="section content">
<h1 class="h-border text-center">400 Bad Request : 不正な操作</h1>
@DisplayViewMessages(viewData)
<div class="message-box">
<p class="message lead text-center">不正な操作をされました。先のページにすすむことは出来ません。</p>
<div class="block">
Expand Down

0 comments on commit e02e705

Please sign in to comment.