git-annex/templates/actionbutton.hamlet

3 lines
171 B
Text
Raw Normal View History

2012-08-08 21:07:38 +00:00
<a class="#{buttonclass}" href="@{route}" onclick="(function( $ ) { $.post('@{route}'); })( jQuery ); return false;">
<i class="#{iconclass}"></i> #{fromMaybe "" label}