1 2
<a class="#{buttonclass}" href="@{route}" onclick="(function( $ ) { $.post('@{route}'); })( jQuery ); return false;"> <i class="#{iconclass}"></i> #{fromMaybe "" label}