'Render the card header
@param list_id: the HTML ID of the list
@param item_id: the HTML ID of the item
@param resource: the S3Resource to render
@param rfields: the S3ResourceFields to render
@param record: the record as dict'

def render_header(self, list_id, item_id, resource, rfields, record):

    T = current.T
    toolbox = self.render_toolbox(list_id, resource, record)
    if (not toolbox):
        toolbox = ''
    place = record['work_job.site_id']
    date = record['work_job.start_date']
    hours_planned = record['work_job.duration']
    job_type = record['work_job.job_type_id']
    header = DIV(SPAN(place, _class='location-title'), SPAN(date, _class='date-title'), SPAN(('%s    %s' % (hours_planned, T('Hours'))), _class='date-title'), SPAN(job_type, _class='date-title'), toolbox, _class='card-header')
    return header
