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

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server" >
     <%
         var func = new PaymentsUtils();
         var str = func.SetTitle(); 
     %>
	 <%=str + HttpContext.GetGlobalResourceObject("tlumaczenia", "PageLogin").ToString()%>
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
  
    <div class="zalogujTitle">
        <%=HttpContext.GetGlobalResourceObject("tlumaczenia","LoginInfo").ToString()%>
    </div>                        
    <div id="odstep"></div>
    
    <%string info = HttpContext.GetGlobalResourceObject("tlumaczenia", "validateInfo").ToString(); %>
    <%= Html.ValidationSummary(info) %>
    
    <% using (Html.BeginForm()) { %>
        <table class="tablelogin" border="0" cellpadding="0" cellspacing="0">
            <tr><td rowspan="9" class="TableRightMargin"></td></tr>
            <tr><td class="przestrzen">&nbsp</td></tr>
            <tr>
                <td width="430px">
                    <asp:Label ID="info" Text="<%$Resources:tlumaczenia,info %>" runat="server"></asp:Label>
                    <br /><br /> 
                </td>
            </tr>                        
            <tr>
                <td class="label_w"><asp:Label ID="nip" Text="<%$Resources:tlumaczenia,Nip %>" runat="server"></asp:Label></td>
            </tr>
            <tr> 
                <td>
                    <%= Html.TextBox("nip")%>
                    <%= Html.ValidationMessage("nip","*")%>
                </td>
            </tr>
            <tr>
                <td class="label_w"><asp:Label ID="numerfaktury" Text="<%$Resources:tlumaczenia,NumerFaktury %>" runat="server"></asp:Label></td>
            </tr>
            <tr> 
                <td>
                    <%= Html.TextBox("numerFaktury")%>
                    <%= Html.ValidationMessage("numerFaktury", "*")%>
                </td>
            </tr>
            <tr>
                <td class="but">
                    <br />
                    <input id="loguj" name="id" type="submit" value="<%=HttpContext.GetGlobalResourceObject("tlumaczenia","Zaloguj").ToString()%>"/>
                </td>
            </tr> 
            <tr><td class="przestrzen">&nbsp</td></tr>                               
        </table>     
    <% } %>
</asp:Content>
