I have a bunch of button-style links in my entire web application:
<a href="@Url.Action("Index", "Home")" class="btn btn-default btn-lg btn-right">
<span class="glyphicon glyphicon-home"></span>
<h3>Store Home</h3>
</a>
Sometimes they get an additional tag to indicate a direction arrow or other decoration:
<a href="@Url.Action("Payment", "Checkout")" class="btn btn-primary btn-lg btn-right">
<h3><<</h3>
<span class="glyphicon glyphicon-credit-card"></span>
<h3>Back to Payment</h3>
</a>
My question is not to grind my layout thinly with different tastes of this button and insert it, is it advisable to use a partial view so that knowledge of how to make a button and its various tastes is in one place? EDIT: for clarity, I mean a partial view with nothing but a button layout, and potentially a “button model” object with various settings for presentation.
, , , , , - , , .