I have a lot of Bootstrap inputs in my edit forms and I'm using the asp-for tag helper for model binding.
<div class="form-group">
<div class="fg-line">
<label asp-for="@Model.Name" class="control-label"></label>
<input asp-for="@Model.Name" class="form-control"/>
</div>
<span asp-validation-for="@Model.Name" class="help-block"></span>
</div>
I want to write a custom tag helper, so that I can write:
<bsinput asp-for="@Model.Name" />
...which produces the output above.
Is it possible to evaluate nested tag helpers?