I would like a hint of putting two fields on the same line in Razor, using the bootstrap in an ASP.NET MVC5 application.
div class="ibox-content">
<form role="form" class="form-inline">
<div class="form-group">
@Html.LabelFor(model => model.Nm_EquipeMinima, new { @class = "control-label col-md-2" })
<div class="col-md-6">
@Html.EditorFor(model => model.Nm_EquipeMinima)
@Html.ValidationMessageFor(model => model.Nm_EquipeMinima)
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Nr_EquipeMinima, new { @class = "control-label col-md-2" })
<div class="col-md-6">
@Html.EditorFor(model => model.Nr_EquipeMinima)
@Html.ValidationMessageFor(model => model.Nr_EquipeMinima)
</div>
</div>
</form>
</div class="ibox-content">
This is my code and below the result.