<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<r13.Models.RegistrationData>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Potwierdź</title>
    <link rel="Stylesheet" href="../../Content/site.css" />
</head>
<body>
    <div>
<h2>Confirm</h2> 
Proszę potwierdzić poprawność danych. 
<% using(Html.BeginForm()) { %> 
    <%: Html.Serialize("regData", Model) %> 
    <div>Nazwisko: <b><%: Model.Name %></b></div> 
    <div>Email: <b><%: Model.Email %></b></div>
    <div>Wiek: <b><%: Model.Age %></b></div> 
    <div>Zainteresowania: <b><%: Model.Hobbies %></b></div> 
    <p> 
        <input type="submit" name="backButton" value="< Wstecz" /> 
        <input type="submit" name="nextButton" value="Dalej >" /> 
    </p>  
<% } %> 
    
    </div>
</body>
</html>
