git-annex/templates/actionbutton.hamlet
2012-08-08 17:07:38 -04:00

2 lines
171 B
Text

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