aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/notes.tpl
blob: 7300779f4c1bf227cad6d66686b8f2727eb9dbf1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                                    
<div class="widget">
<script>
function notePost() {
	$('#note-rotator').spin('tiny');
	$.post('notes', { 'note_text' : $('#note-text').val() },function(data) { $('#note-rotator').spin(false); });
}
</script>

<h3>{{$banner}}</h3>
<textarea name="note_text" id="note-text">{{$text}}</textarea>
<input type="submit" name="submit" id="note-save" value="{{$save}}" onclick="notePost(); return true;">
<div id="note-rotator"></div>
</div>