<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<XFormSelector>" %>
<%@ Import Namespace="EPiServer.Shell.Web.Mvc.Html" %>
<%@ Import Namespace="EPiServer.Samples.Models.XFormSearch" %>
<input type="hidden" name="formId" value="<%= Model.SelectedFormId  %>" />
<table class="epi-simple">
    <% 
        foreach (string name in Model.SelectedFormFields)
        {
    %>
    <tr>
        <td>
            <%=name%>
        </td>
        <td>
            <%=Html.TextBox(name)%>
        </td>
    </tr>
    <%
        }           
    %>
</table>
