@using MrCMS.Helpers
@model MrCMS.Web.Apps.Ecommerce.Payment.SagePay.SagePaySettings
@{
    ViewBag.Title = "SagePay Settings";
}
@using (Html.BeginForm("Save", "SagePaySettings", FormMethod.Post))
{
    <fieldset>
        <legend>SagePay Settings
            <span class="btn-group display-inline pull-right">
                <input type="submit" class="btn btn-primary" value="Save" />
            </span>
        </legend>
        <div class="form-group">
            @Html.InlineCheckboxFor(settings => settings.Enabled)
        </div>
        <div class="form-group">
            @Html.InlineCheckboxFor(settings => settings.RequiresSSL)
        </div>
        <div class="form-group">
            @Html.LabelFor(settings => settings.VendorName)
            @Html.TextBoxFor(settings => settings.VendorName, new{@class="form-control"})
        </div>
        <div class="form-group">
            @Html.LabelFor(settings => settings.Mode)
            @Html.DropDownListFor(settings => settings.Mode, Model.ModeOptions, new{@class="form-control"})
        </div>

    </fieldset>
}