<%@ Page Title="Profile" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %> <%=ViewData["UserName"]%> : Profile - <%=YavscHelpers.SiteName%>

<%=ViewData["UserName"]%> : Profile - <%=YavscHelpers.SiteName%>

<%= Html.ActionLink("Changer de mot de passe","ChangePassword", "Account")%>

<%= Html.ValidationSummary() %> <% using(Html.BeginForm("UpdateProfile", "Account", FormMethod.Post, new { enctype = "multipart/form-data" })) %> <% { %>
<%= Html.LabelFor(model => model.Address) %> <%= Html.TextBox("Address") %> <%= Html.ValidationMessage("Address", "*") %>
<%= Html.LabelFor(model => model.CityAndState) %> <%= Html.TextBox("CityAndState") %> <%= Html.ValidationMessage("CityAndState", "*") %>
<%= Html.LabelFor(model => model.Country) %> <%= Html.TextBox("Country") %> <%= Html.ValidationMessage("Country", "*") %>
<%= Html.LabelFor(model => model.WebSite) %> <%= Html.TextBox("WebSite") %> <%= Html.ValidationMessage("WebSite", "*") %>
<%= Html.LabelFor(model => model.BlogVisible) %> <%= Html.CheckBox("BlogVisible") %> <%= Html.ValidationMessage("BlogVisible", "*") %>
<%= Html.LabelFor(model => model.BlogTitle) %> <%= Html.TextBox("BlogTitle") %> <%= Html.ValidationMessage("BlogTitle", "*") %>
Avatar " alt=""/> <%= Html.ValidationMessage("AvatarFile", "*") %>
<% } %>