Re: space inserted into css class by formencode / hmtlfill 1.2.1
Ian Bicking <[email protected]> Tue, 3 Feb 2009 12:18:27 -0600
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 3, 2009 at 11:40 AM, Jules Stevenson <[email protected]> wrote: > I am very green with form encode, so please bear with me. First of all - > thanks, it's a great tool. It's making my life much easier :). > > When it's validating my fields it's appending 'error' onto the fields CSS > class as expected, but seems to be putting a space in between which is not > so hot. > > Ie. <input class='form'.. becomes <input class='form error'.. after > htmlfill. > > This is within a pylons project, but I'm unsure what more material I should > provide for any help with this. What's the problem? class="form error" means the element has two classes ("form" and "error"). -- Ian Bicking | http://blog.ianbicking.org ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ FormEncode-discuss mailing list FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/formencode-discuss