Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<myGreenWebCore.Model.GWSupportQuestion>" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
- Create
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
- <div class="toolbar">
- <table width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="300">
- <h1>
- Create new support ticket</h1>
- </td>
- <td>
- <div class="buttons">
- </div>
- </td>
- </tr>
- </table>
- </div>
- <% using (Html.BeginForm())
- {%>
- <%: Html.ValidationSummary("Please correct the errors and try again.") %>
- <table>
- <tr>
- <td>
- Title:
- </td>
- <td>
- <%: Html.TextBoxFor(model => model.Title, new { @class = "edit", maxlength = "250" })%>
- <%: Html.ValidationMessageFor(model => model.Title, "*") %>
- </td>
- </tr>
- <tr>
- <td valign="top">
- Message:
- </td>
- <td>
- <%: Html.TextAreaFor(model => model.Description, new { @class = "Support_Area", maxlength = "4000" })%>
- <%: Html.ValidationMessageFor(model => model.Description, "*") %>
- </td>
- </tr>
- <tr>
- <td>
-
- </td>
- <td>
- <input type="submit" value="Create" class="btn" /> <span class="buttons"><%=Html.ActionLink("Back", "ShowAll") %></span>
- </td>
- </tr>
- </table>
- <% } %>
- </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement