Changeset 4019

Show
Ignore:
Timestamp:
07/15/08 21:39:14 (4 months ago)
Author:
rharkins
Message:

Fixed issue #3388 (couldn't print trac forms)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tracformsplugin/trunk/0.11/tracforms/macros.py

    r3967 r4019  
    136136            form_name = self.form_name or self.subcontext 
    137137            dest = self.formatter.req.href('/formdata/update') 
    138             yield ('<FORM method="POST" action=%r' % str(dest) +  
     138            yield ('<FORM class="printableform" ' + 
     139                    'method="POST" action=%r' % str(dest) + 
    139140                    (form_cssid is not None  
    140141                        and ' id="%s"' % form_cssid 
     
    149150            yield text 
    150151            if self.needs_submit: 
    151                 yield '<INPUT type="submit"' 
     152                yield '<INPUT class="buttons" type="submit"' 
    152153                if self.submit_name: 
    153154                    yield ' name=%r' % str(self.submit_name)