| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Core.Linq.User>" %>
|
|---|
| 2 | <%@ Import namespace="Wierszowki.Core.Validation"%>
|
|---|
| 3 | <asp:Content ID="js" ContentPlaceHolderID="jsContent" runat="server">
|
|---|
| 4 | <script src="../../Scripts/jquery-1.3.1.js" type="text/javascript"></script>
|
|---|
| 5 | <script src="../../Scripts/jquery-1.3.1.min.js" type="text/javascript"></script>
|
|---|
| 6 | <script src="../../Scripts/jquery.form.js" type="text/javascript"></script>
|
|---|
| 7 | <script src="../../Scripts/jquery.blockUI.js" type="text/javascript"></script>
|
|---|
| 8 | <script src="../../Scripts/date.js" type="text/javascript"></script>
|
|---|
| 9 | <script src="../../Scripts/jquery.datePicker.js" type="text/javascript"></script>
|
|---|
| 10 | <script src="../../Scripts/spiffy.js" type="text/javascript"></script>
|
|---|
| 11 | <script src="../../Scripts/jHelper.js" type="text/javascript"></script>
|
|---|
| 12 | <script src="../../Scripts/jquery.validate.js" type="text/javascript" ></script>
|
|---|
| 13 | <script src="../../Scripts/xVal.jquery.validate.js" type="text/javascript"></script>
|
|---|
| 14 | <script src="../../Scripts/jqueryvalid.js" type="text/javascript"></script>
|
|---|
| 15 | <script src="../../Scripts/xValUser.js" type="text/javascript"></script>
|
|---|
| 16 | </asp:Content>
|
|---|
| 17 |
|
|---|
| 18 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 19 | Edytuj u¿ytkownika
|
|---|
| 20 | </asp:Content>
|
|---|
| 21 |
|
|---|
| 22 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 23 | <h2>Edytuj u¿ytkownika</h2>
|
|---|
| 24 |
|
|---|
| 25 | <%= Html.ValidationSummary("Proszê poprawiæ b³êdy i spróbowaæ ponownie.") %>
|
|---|
| 26 |
|
|---|
| 27 | <% using (Html.BeginForm("Edit", "User", Model, FormMethod.Post, new { id = "myform" }))
|
|---|
| 28 | {%>
|
|---|
| 29 |
|
|---|
| 30 | <fieldset>
|
|---|
| 31 | <legend>Dane u¿ytkownika</legend>
|
|---|
| 32 | <p>
|
|---|
| 33 | <label for="Login">Login:</label>
|
|---|
| 34 | <%= Html.TextBox("Login", Model.Login) %>
|
|---|
| 35 | <%= Html.ValidationMessage("Login", "*") %>
|
|---|
| 36 | </p>
|
|---|
| 37 | <p>
|
|---|
| 38 | <label for="Password">Has³o:</label>
|
|---|
| 39 | <%= Html.Password("Password", Model.Password) %>
|
|---|
| 40 | <%= Html.ValidationMessage("Password", "*") %>
|
|---|
| 41 | </p>
|
|---|
| 42 | <p>
|
|---|
| 43 | <label for="FirstName">Imiê:</label>
|
|---|
| 44 | <%= Html.TextBox("FirstName", Model.FirstName) %>
|
|---|
| 45 | <%= Html.ValidationMessage("FirstName", "*") %>
|
|---|
| 46 | </p>
|
|---|
| 47 | <p>
|
|---|
| 48 | <label for="LastName">Nazwisko:</label>
|
|---|
| 49 | <%= Html.TextBox("LastName", Model.LastName) %>
|
|---|
| 50 | <%= Html.ValidationMessage("LastName", "*") %>
|
|---|
| 51 | </p>
|
|---|
| 52 | <p>
|
|---|
| 53 | <input type="submit" value="Aktualizuj" />
|
|---|
| 54 | </p>
|
|---|
| 55 | </fieldset>
|
|---|
| 56 |
|
|---|
| 57 | <% } %>
|
|---|
| 58 |
|
|---|
| 59 | <div>
|
|---|
| 60 | <%=Html.ActionLink("Powrót do listy u¿ytkowników", "Index") %>
|
|---|
| 61 | <%=Html.ClientSideValidation<UserValidation>()%>
|
|---|
| 62 | </div>
|
|---|
| 63 | </asp:Content> |
|---|