@using MrCMS.Helpers
@model MrCMS.Web.Apps.NewsletterBuilder.Entities.TemplateData.ImageRightAndTextLeftTemplateData

@using (Html.BeginForm("Edit", "ImageRightAndTextLeftTemplateData", FormMethod.Post))
{
    @Html.ReturnToReferrer()
    <fieldset>
        <legend>
            Update Image Right And Text Left Template Data for @Model.NewsletterTemplate.Name
            <span class="pull-right display-inline btn-group">
                <button type="submit" class="btn btn-primary">Save</button>
            </span>
        </legend>
        <div class="form-group">
            @Html.LabelFor(x => x.ImageRightAndTextLeftTemplate)
            @Html.TextAreaFor(x => x.ImageRightAndTextLeftTemplate, new { @class = "form-control", rows = 6 })
            @Html.ValidationMessageFor(x => x.ImageRightAndTextLeftTemplate)
        </div>
        <div class="alert alert-info">
            <strong>Available Tokens: </strong> [ImageUrl], [Text]
        </div>
    </fieldset>
}