DmitryEfimenko / TwitterBootstrapMvc

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

Tab().PrependIcon does not accept string #382

Closed wstaelens closed 9 years ago

wstaelens commented 9 years ago

using a string in PrependIcon for a Tab does not work: @tabs.Tab("hey").PrependIcon("glyphicon glyphicon-bell");

You have to use: @tabs.Tab("hey").PrependIcon(new Icon("glyphicon glyphicon-bell"))

Would it be possible to let it accept just the string in the PrenpendIcon / AppendIcon, like the other controls (e.g. .ActionLinkButton)

DmitryEfimenko commented 9 years ago

Good suggestion. I'll include it in the next release

wstaelens commented 9 years ago

Great! thanks. I'll see it when a new NuGet package for MVC5 gets released.

DmitryEfimenko commented 9 years ago

This is done. Please get latest.

wstaelens commented 9 years ago

Thanks, works fine!