{% put scripts %}
<script type="text/javascript">
$(function() {
	 var wbbOpt = {
	 	buttons: "{{ toolbar }}",
	 	smileList: {{ emoticonsJson|raw }}
	 }
	 
  	$("textarea").wysibb(wbbOpt);
})
</script>
{% endput %}

