root/trunk/Wierszowki/Wierszowki.Web/Views/User/Create.aspx @ 752

Wersja 752, 1.7 KB (wprowadzona przez marek, 17 years temu)

wiersz

Line 
1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Core.Linq.User>" %>
2
3<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
4        Dodaj u¿ytkownika
5</asp:Content>
6
7<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
8
9    <h2>Dodaj u¿ytkownika</h2>
10
11    <%= Html.ValidationSummary("Proszê poprawiæ b³êdy i spróbowaæ ponownie.") %>
12
13    <% using (Html.BeginForm("Create", "User", Model)) {%>
14
15        <fieldset>
16            <legend>Dane u¿ytkownika</legend>
17            <p>
18                <label for="Login">Login:</label>
19                <%= Html.TextBox("Login", Model.Login) %>
20                <%= Html.ValidationMessage("Login", "*") %>
21            </p>
22            <p>
23                <label for="Password">Has³o:</label>
24                <%= Html.Password("Password", Model.Password)%>
25                <%= Html.ValidationMessage("Password", "*") %>
26            </p>
27            <p>
28                <label for="FirstName">Imiê:</label>
29                <%= Html.TextBox("FirstName", Model.FirstName)%>
30                <%= Html.ValidationMessage("FirstName", "*") %>
31            </p>
32            <p>
33                <label for="LastName">Nazwisko:</label>
34                <%= Html.TextBox("LastName", Model.LastName)%>
35                <%= Html.ValidationMessage("LastName", "*") %>
36            </p>
37            <p>
38                <input type="submit" value="Dodaj" />
39            </p>
40        </fieldset>
41
42    <% } %>
43
44    <div>
45        <%=Html.ActionLink("Powrót do listy u¿ytkowników", "Index") %>
46    </div>
47
48</asp:Content>
49
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.