<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Platnosci.Models.ErrorViewData>" %>
<%@ Import Namespace ="Platnosci.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
     <%
         FunkcjePlatnosci func = new FunkcjePlatnosci();
         string 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>
