# HG changeset patch # User BenoƮt Allard # Date 1413275818 -7200 # Node ID 0e0572780aff402091d5dd57141344b2bbef8e5d # Parent 8a9fdf02bf5bdc1a72714cdd3edd4049cebed7b5 Make the delete_button be a real button, and not a danger label in an anchor diff -r 8a9fdf02bf5b -r 0e0572780aff farol/templates/macros.j2 --- a/farol/templates/macros.j2 Tue Oct 14 10:36:12 2014 +0200 +++ b/farol/templates/macros.j2 Tue Oct 14 10:36:58 2014 +0200 @@ -186,11 +186,5 @@ {% endmacro %} {% macro delete_button(url, hiddens={}, text="delete") %} - {% call(selector) POST_button(url, text, hiddens) %} - - - {{ text }} - - - {% endcall %} + {{ POST_button(url, text, hiddens, style="btn-danger btn-xs") }} {% endmacro %}