The code I'm currently using is this:
@Html.LabelFor(model => model.MaxExecutions)
<div class="input-append">
@Html.TextBoxFor(model => model.MaxExecutions, new { @class = "input-xxlarge", placeholder="Enter Max Executions" })
<span class="add-on"><a href='#' class='title' rel='tooltip' title="Help Title" data-content="Help Message">?</a></span>
@Html.ValidationMessageFor(model => model.MaxExecutions)
</div>
I repeat this over & over in my code. I'd love to pass this off to an HtmlHelper. The type of Model I pass in can change, and I'd like to have the Display attribute available from the model (or I'd just generate an htmlstring).