<div class="widget"> <h3>{{$title}}</h3> <ul class="nav nav-pills nav-stacked"> <li><a href="#" onclick="changeView('changeView', 'month'); return false;">{{$month}}</a></li> <li><a href="#" onclick="changeView('changeView', 'agendaWeek'); return false;">{{$week}}</a></li> <li><a href="#" onclick="changeView('changeView', 'agendaDay'); return false;">{{$day}}</a></li> </ul> </div>