我在带有AdminLTE主题的ASP.Net MVC中有这个默认视图模板。
在我的框页脚中,如何对齐生成按钮以使其与文本字段对齐?
查看:
<div class="form-group">
@Html.LabelFor(model => model.EndDate, "End Date", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.EndDate, new { htmlAttributes = new { @class = "form-control datepicker", id = "txtEnddate" } })
@Html.ValidationMessageFor(model => model.EndDate, "", new { @class = "text-danger" })
</div>
</div>
<div class="box-footer">
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Generate Report" class="btn btn-info" />
<input type="submit" value="Test" class="btn btn-info" id="btnTest" />
</div>
</div>
</div>