I Have the following form on a view

@using (Html.BeginForm("AddInterest", "Club", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    <div class="form-horizontal">
        <hr />
        <div class="row">
            <div class="col-md-8">
                <div class="well bs-component">
                    <div class="form-group">
                        <div class="col-md-10 col-md-offset-1">
                            <h3>Not listed? - Add extras here</h3>
                        </div>
                    </div>
                    @Html.HiddenFor(model => model.ClubTypeId)
                    @Html.HiddenFor(model => model.ClubId)
                    @Html.ValidationSummary(true, "", new { @class = "text-danger" })
                    <div class="form-group">
                        <div class="row col-md-offset-1 col-md-11">
                            <div class="col-md-4">
                                @Html.LabelFor(model => model.InterestName, htmlAttributes: new { @class = "control-label" })
                                @Html.EditorFor(model => model.InterestName, new { htmlAttributes = new { @class = "form-control" } })
                                @Html.ValidationMessageFor(model => model.InterestName, "", new { @class = "text-danger" })
                            </div>
                            <div class="col-md-5">
                                @Html.LabelFor(model => model.Description, htmlAttributes: new { @class = "control-label" })
                                @Html.EditorFor(model => model.Description, new {  htmlAttributes = new { @class = "form-control" } })
                                @Html.ValidationMessageFor(model =>  model.Description, "", new { @class = "text-danger" })
                            </div>
                            <input type="submit" value="Add" class="btn btn- success" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
}

Everything is good apart from the submit button sits inline with the labels not the editor boxes, how can I get it to drop down?

Related posts

Recent Viewed