Created
October 24, 2010 12:27
-
-
Save kouphax/643500 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Common.Model.ForumPost>" %> | |
<asp:Content ContentPlaceHolderID="TitleContent" runat="server"> | |
Login | |
</asp:Content> | |
<asp:Content ContentPlaceHolderID="MainContent" runat="server"> | |
<h2>Post Question</h2> | |
<% using (Html.BeginForm()) { %> | |
<p> | |
<%=Html.LabelFor(c => c.Subject)%> | |
<%=Html.TextBoxFor(c => c.Subject)%> | |
</p> | |
<p> | |
<%=Html.LabelFor(c => c.Body)%> | |
<%=Html.TextAreaFor(c => c.Body)%> | |
</p> | |
<input type="submit" value="Post" /> | |
<%} %> | |
</asp:Content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment