<%@ Page Title="Bill_edition" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Models/App.master" %> <%@ Register Assembly="Yavsc.WebControls" TagPrefix="yavsc" Namespace="Yavsc.WebControls" %>
<% using(Html.BeginForm("ValidateEdit","Blogs")) { %>
Billet <%= Html.LabelFor(model => model.Title) %> <%= Html.ValidationMessage("Title") %> :

<%= Html.LabelFor(model => model.Content) %> <%= Html.ValidationMessage("Content") %>:

<%= Html.CheckBox( "Visible" ) %> <%= Html.LabelFor(model => model.Visible) %> <%= Html.ValidationMessage("Visible", "*") %>
<%= Html.LabelFor(model => model.AllowedCircles) %> <%= Html.ListBox("AllowedCircles") %> <%= Html.ValidationMessage("AllowedCircles", "*") %> <%=Html.Hidden("Author")%> <%=Html.Hidden("Id")%>
<% } %>

<%=Html.Markdown(Model.Title)%>

<%=Html.Markdown(Model.Content,"/bfiles/"+Model.Id+"/")%>
Fichiers attachés