> > templates/generic/includes/comment_fields.html > This doesn't exist in my mezzanine project. What is the preferred method of overriding forms in mezzanine today ?
On Saturday, May 14, 2011 at 3:51:39 AM UTC, Stephen McDonald wrote: > > Hey Joe, > > You're absolutely right. I've added CSS classes to the fields here: > > > https://github.com/stephenmcd/mezzanine/commit/612f6b2c140b2fc271529f98fa517b9030e1f661 > > I'll make this available possibly some time over the next few days with a > 0.11.1 release. In the mean time what you can do is just override and edit > that template inside your project, applying the same change: > > templates/generic/includes/comment_fields.html > > If you do that you could also use some if logic to exclude the field from > being rendered at all. > > Cheers, > Steve > > > > On Fri, May 13, 2011 at 10:35 PM, Joe Hillenbrand <[email protected] > <javascript:>> wrote: > >> Unfortunately, it doesn't have any selectable id or class so that makes >> that solution less than ideal. I am able to select an inner element such >> as, label:contains("Website") or input#id_url, but AFAIK there is no way to >> hide a parent element based on a child selection (without using jQuery). >> >> >> On Thu, May 12, 2011 at 10:20 PM, Stephen McDonald <[email protected]> >> wrote: >> >>> Hey Joe, >>> >>> Quickest approach would be to hide it via CSS. >>> >>> Cheers, >>> Steve >>> >>> >>> On Thu, May 12, 2011 at 9:35 PM, JoE <[email protected] <javascript:>> >>> wrote: >>> >>>> It's always seemed like a pointless field to me. Is there any way that >>>> I can remove it? >>> >>> >>> >>> >>> -- >>> Stephen McDonald >>> http://jupo.org >>> >>> >> > > > -- > Stephen McDonald > http://jupo.org > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
