mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 15:01:56 +00:00
Fixed localization for /Home/Login
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@using Microsoft.AspNetCore.Mvc.Localization
|
||||
@model LoginViewModel
|
||||
@inject IViewLocalizer T
|
||||
@{
|
||||
ViewData["Title"] = T["Login"];
|
||||
@@ -10,7 +11,7 @@
|
||||
if (Model.ErrorText is not null)
|
||||
{
|
||||
<div class="alert alert-danger text-center login-error">
|
||||
<h2>@Model.ErrorText</h2>
|
||||
<h2>@T[Model.ErrorText]</h2>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user