@model SharpConnector.Models.Recipient

@using (Html.BeginForm("AddHoc", "AddressBook", FormMethod.Post))
{
    <div id="btn_wrapper">
        <div class="left">
            <input type="button" value="Back" onclick="navigateTo('@Url.Action("Index", "Home")');" />
        </div>
        <div id="title">
            <h3 class="text-center">Add Recipients</h3>
        </div>
        <div class="right">
            <input type="submit" value="Add" id="btn_addHoc" />
        </div>
    </div>

    <div class="inner_wrapper stretch_to_bottom">
        <table cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td align="center">
                    <label class="full-label">Fax No *</label>
                    @Html.TextBoxFor(m => m.Address)
                </td>
            </tr>
            <tr>
                <td align="center">
                    @Html.ValidationMessageFor(m => m.Address)
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center">
                    <label class="full-label">Recipient Name *</label>
                    @Html.TextBoxFor(m => m.Name)
                </td>
            </tr>
            <tr>
                <td align="center">
                    @Html.ValidationMessageFor(m => m.Name)
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center">
                    @Html.CheckBoxFor(m => m.IsRawFax, new { @id= "isRawFax_input" })
                    <label for="isRawFax_input">Raw Fax</label>
                </td>
            </tr>
        </table>
    </div>
}
