<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ErrorViewData>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
     <%
         var func = new PaymentsUtils();
         var str = func.SetTitle(); 
     %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <p class="Info">
       <%=Model.Error%>
       <%if (Model.Error == HttpContext.GetGlobalResourceObject("tlumaczenia", "error_hash").ToString())
       {
           string link2 = HttpContext.GetGlobalResourceObject("tlumaczenia", "KolejnaProba").ToString();%>
           <span id="link1"><%=Html.ActionLink(link2, "Show", "Platnosc", new { id = Model.InvoiceId }, null)%></span>
       <%}%>
    </p>
</asp:Content>
