vgquotes/Src/VideoGameQuotes.Web/Views/Home/Contact.aspx
tmont 25172d14a3 * compressed javascript
* renamed css file
* removed copypaste code for js includes
* added pdn files
* changed unused images/javascript build type from Content to None
2011-03-01 00:11:17 +00:00

48 lines
1.6 KiB
Plaintext

<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<VideoGameQuotes.Web.Models.ContactModel>" MasterPageFile="~/Views/Shared/Site.Master" %>
<%@ Import Namespace="Portoa.Web.Util" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Contact</asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
<h2>Contact</h2>
<p><%= Html.ValidationMessage("client") %></p>
<% using (Html.BeginForm("Contact", "Home")) { %>
<div class="contact-form">
<%= Html.HiddenFor(model => model.HashedCaptchaAnswer) %>
<p>
<%= Html.LabelFor(model => model.Name) %>
<br />
<%= Html.TextBoxFor(model => model.Name) %>
</p>
<p>
<%= Html.LabelFor(model => model.Email) %>
<br />
<%= Html.TextBoxFor(model => model.Email) %>
</p>
<p>
<%= Html.LabelFor(model => model.Message) %>
<br />
<%= Html.TextAreaFor(model => model.Message) %>
</p>
<p>
Are you human? <small style="position: relative"><a href="#" id="captcha-question">[click for correct answer]</a></small>
<br />
<%= Html.TextBoxFor(model => model.CaptchaAnswer) %>
</p>
<div class="form-submit-container">
<div class="form-submit">
<%= Html.Submit("Send!")%>
</div>
</div>
</div>
<% } %>
</asp:Content>
<asp:Content ContentPlaceHolderID="DeferrableScripts" runat="server">
<% Html.RenderPartial("CaptchaJavaScript", Model); %>
</asp:Content>