'Header for Request Forms
@param data: the S3ResourceData for the req_req'

@classmethod
def request_form_header(cls, data):

    row = data.rows[0]
    labels = dict(((rfield.colname, rfield.label) for rfield in data.rfields))
    from gluon import DIV, H2, H4, TABLE, TD, TH, TR, P
    T = current.T
    from layouts import OM
    (name, logo) = OM().render()
    title = H2(T('Logistics    Requisition'))
    row_ = (lambda left, right, row=row, labels=labels: cls._header_row(left, right, row=row, labels=labels))
    dtable = TABLE(TR(TD(DIV(logo, H4(name)), _colspan=2), TD(DIV(title), _colspan=2)), row_('req_req.req_ref', None), row_('req_req.date', 'req_req.date_required'), row_('req_req.site_id', 'req_req.purpose'), row_('req_req.requester_id', 'inv_warehouse.contact'))
    ctable = TABLE(TR(TH(T('Comments'))), TR(TD(row['req_req.comments'])))
    return DIV(dtable, P('&nbsp;'), ctable)
