root/branches/Abonament/Wierszowki/Wierszowki.Web/Views/User/Edit.aspx @ 754

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        Edytuj u¿ytkownika
5</asp:Content>
6
7<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
8
9    <h2>Edytuj u¿ytkownika</h2>
10
11    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
12
13    <% using (Html.BeginForm("Edit", "User", Model))
14       {%>
15
16        <fieldset>
17            <legend>Dane u¿ytkownika</legend>
18            <p>
19                <label for="Login">Login:</label>
20                <%= Html.TextBox("Login", Model.Login) %>
21                <%= Html.ValidationMessage("Login", "*") %>
22            </p>
23            <p>
24                <label for="Password">Has³o:</label>
25                <%= Html.Password("Password", Model.Password) %>
26                <%= Html.ValidationMessage("Password", "*") %>
27            </p>
28            <p>
29                <label for="FirstName">Imiê:</label>
30                <%= Html.TextBox("FirstName", Model.FirstName) %>
31                <%= Html.ValidationMessage("FirstName", "*") %>
32            </p>
33            <p>
34                <label for="LastName">Nazwisko:</label>
35                <%= Html.TextBox("LastName", Model.LastName) %>
36                <%= Html.ValidationMessage("LastName", "*") %>
37            </p>
38            <p>
39                <input type="submit" value="Aktualizuj" />
40            </p>
41        </fieldset>
42
43    <% } %>
44
45    <div>
46        <%=Html.ActionLink("Powrót do listy u¿ytkowników", "Index") %>
47    </div>
48</asp:Content>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.