aboutsummaryrefslogtreecommitdiff
path: root/templates/actionbutton.hamlet
blob: 03abe5c116eef0aa77807a8ca23328072fbbd0eb (plain)
1
2
<a class="#{buttonclass}" href="@{route}" onclick="(function( $ ) { $.post('@{route}'); })( jQuery ); return false;">
  <i class="#{iconclass}"></i> #{fromMaybe "" label}