The following code snippet effectively represents items in a large form. My objective is to refactor it down.
<div class="span3">
<ul style="list-style-type: none">
<li><b>Description</b></li>
<li>
<textarea style="width: 100%;" rows="4">@Model.Item.Description</textarea>
</li>
</ul>
</div>
<div class="span3">
<ul style="list-style-type: none">
<li><b>Truck</b></li>
<li>
@Html.DropDownListFor(model => model.Item.ShippingTruckId, new SelectList(Model.ShippingTrucks, "Id", "Truck"))
</li>
</ul>
</div>
<div class="span3">
<ul style="list-style-type: none">
<li><b>Cost</b></li>
<li>
<input value="@Model.Item.Cost"/>
</li>
</ul>
</div>
Two approaches I've considered is a partial view and an HTML helper. Ultimately though, how do a pair those down into a smaller easier to maange segment. I'm generally either going to have that same structure with either an input, a text area, a drop down, or in some cases a label. Is there another, superior, approach I haven't thought of, or any inherent disadvantages/advantages/challenges to one I've mentioned?