Last active
September 28, 2016 14:56
-
-
Save bjoerntx/9be435bdc4487a8caddb961b85372fdc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model TXTextControl.ReportingCloud.TemplateInfo | |
@{ | |
ViewBag.Title = "Index"; | |
} | |
<h2>@Model.TemplateName</h2> | |
@using (Html.BeginForm("Merge", "Home", FormMethod.Post)) | |
{ | |
foreach (TXTextControl.ReportingCloud.MergeField field in | |
Helpers.RemoveDuplicates(Model.MergeFields)) | |
{ | |
<p> | |
@Html.Label(field.Text)<br /> | |
@Html.TextBox(field.Name, "", | |
new { @class = "form-control", | |
required = "true", | |
placeholder = field.Name, | |
title = "Type in the " + field.Text }) | |
</p> | |
} | |
<input type="submit" value="Merge document" /> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment