DmitryEfimenko / TwitterBootstrapMvc

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

Do you have any plan for Descript List? <dl> #433

Open larosel opened 7 years ago

larosel commented 7 years ago

I like TwitterBooststrapMvc. But this is useful for Create, Edit pages.

It's needed DescriptionList supports

tag for Delete, Details pages.

Do you have any play for this?

@using (var f = Html.Bootstrap().Begin(new DescriptionList().Type(DescriptionListType.Horizontal))) { @f.DescriptionListGroup().DisplayFor(model => model.title) }

DmitryEfimenko commented 7 years ago

I do not know what a DescriptionList is. It's not an MVC control (at least I'm not aware of such), it's not a Bootstrap component. I don't know what is the specification for it

larosel commented 7 years ago

Descript List is bootstrap component.

tag dl is simplified of description list. https://getbootstrap.com/css/#description

DmitryEfimenko commented 7 years ago

I see now. I'll add it if more people show interest in it. The truth is, having a BMVC helper for it would not really reduce code complexity because it's just couple tags and there is no complex structure to it.