diff options
Diffstat (limited to 'view/tpl/notes.tpl')
-rw-r--r-- | view/tpl/notes.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl new file mode 100644 index 000000000..09932e545 --- /dev/null +++ b/view/tpl/notes.tpl @@ -0,0 +1,10 @@ +<div class="widget"> +<script> +$("#note-text").live('input paste',function(e){ + $.post('notes', { 'note_text' : $('#note-text').val() }); +}); +</script> + +<h3>{{$banner}}</h3> +<textarea name="note_text" id="note-text">{{$text}}</textarea> +</div> |