<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" 
    Inherits="System.Web.Mvc.ViewPage<Applicant>" %>
<%@ Import Namespace="PdfReportingDemo.Models" %>
<%@ Import Namespace="System.Web.Mvc.Html" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <form action="<%= Url.Action("MyFormLetter", "Home") %>" method="post"
        target="_blank"><!-- popup pdf to new window -->
        
        <h1>Generate My Form Letter</h1>
        <table class="NoBorder">
            <tr>
                <td class="NoBorder" style="text-align: right; font-weight: bold; width: 200px">
                    Applicant Name:
                </td>
                <td class="NoBorder" style="width: 600px">
                    <input id="Name" name="Name" value="<%= Model.Name %>" />
                </td>
            </tr>
            <tr>
                <td class="NoBorder" style="text-align: right; font-weight: bold;">
                    Company Name:
                </td>
                <td class="NoBorder">
                    <input id="Company" name="Company" value="<%= Model.Company %>" />
                </td>
            </tr>
        </table>
        <input type="submit" value="Submit" name="submitButton" />
    </form>
</asp:Content>
