DmitryEfimenko / TwitterBootstrapMvc

Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Apache License 2.0
224 stars 79 forks source link

Html.Bootstrap().Link(linkText, url) has a default class #374

Closed Karstendg closed 9 years ago

Karstendg commented 9 years ago

Html.Bootstrap().Link(linkText, url) always get "btn-default" as a default class. My best guess is that it depends on button.

When i follow the guide on http://getbootstrap.com/css/#buttons-options I'm cunnrenty not able to create the clear link button trough this method. Is it possible to change this?

DmitryEfimenko commented 9 years ago

use extension method .Style():

@Html.Bootstrap().Link("Google", "http://www.google.com").Style(ButtonStyle.Link)