Just found that I can append _class - that works. But now how would I go about adding custom like so?
<input type="email" id="email" name="email" data-trigger="change" data-validation-minlength="1" required="required" class="span10" /> With webpy I could only generate: <input type="email" id="email" name="email" class="span10" /> How would I go about injecting the 3 custom variables in? On Monday, October 28, 2013 11:05:39 PM UTC, pip wrote: > > How would I go about adding a custom class tag to a form object? FYI I'm > rendering individually (form.username.render()) > > Thanks. > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
