<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Settings>" %>
<%@ Import Namespace="EPiServer.Shell.Web.Mvc.Html" %>
<%@ Import Namespace="EPiServer.Samples.Models.XFormSearch" %>
<div class="epi-contentArea">
    <% Html.BeginGadgetForm("SaveConfiguration"); %>
    <div class="epi-padding-small epi-formArea">
        <fieldset>
            <legend>Settings</legend>
            <input id="GadgetId" type="hidden" value="<%=Model.GadgetId %>" />
            <div class="epi-size10">
            <%=Html.LabeledTextBox("ResultsPerPage", "Results Per Page", Model.ResultsPerPage)%></div>
            <div class="epi-size10">
            <%=Html.AcceptButton() %>
            <%=Html.CancelButton() %></div>
        </fieldset>
    </div>
    <% Html.EndForm(); %>
</div>
