Sorry I should have given you all the data...
The db table is a simple one
# HISTORY
db.define_table('notes',
Field('business', 'reference calls',
writable=False
),
Field('note', 'text',
label='Add Note'
),
auth.signature,
format='%(business)s'
)
The controller is as above...
note.load is simply
{{=response.toolbar()}}
<h4>Notes:</h4>
{{for note in notes:}}
<div class="note">
On {{=note.created_on}} {{=note.created_by.first_name}}
says <blockquote class="note_body">{{=note.note}}</blockquote>
</div>
{{pass}}
load is only called in a couple of views at the moment until I get this sorted out...
for example in leads.html (the one in the screenshot)
{{extend 'layout.html'}}
{{=form}}
{{pass}}
{{block right_sidebar}}
{{=LOAD('default','note.load',ajax=True)}}
{{end}}