If you start compiling a report, but don't finish and send it, it'll appear in this menu so you can finish it later
These are your draft, unsent reports. To finish and send them, open a report when online.
<% drafts.each(function(draft) {
if ( draft ) {
var classes = [];
if ( draft.get('lat') ) {
classes.push('with_location');
}
if ( draft.get('file') ) {
classes.push('with_photo');
}
var draftClass = '';
if ( classes.length ) {
draftClass = 'class="' + classes.join(' ') + '"';
}
print( '- ' + draft.description() + 'Delete
' );
}
} ); %>