From d352790361de4a32632618ee805d1979b6b28fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Sun, 1 Nov 2020 18:31:10 +0100 Subject: [PATCH] Zjednodusena verze s awesome --- templates/includes/button.html.ep | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/templates/includes/button.html.ep b/templates/includes/button.html.ep index 1cfa6b3..5c63cde 100644 --- a/templates/includes/button.html.ep +++ b/templates/includes/button.html.ep @@ -1,10 +1,3 @@ -<button type="button" class="btn btn-labeled btn-<%= $c->stash->{class} // 'secondary' %>"> -<span class="btn-label"> -<svg class="bi" width="24" height="24" fill="currentColor"> - <use xlink:href="/img/icons/bootstrap-icons.svg#<%= $icon %>"/> -</svg> -</span> -% if ( $label ) { -<%= $label %> -% } +<button type="button" class="btn btn-<%= $c->stash->{class} // 'secondary' %>"> +<i class="fa fa-play-<%= $icon %>"></i> <%= $label %> </button> -- GitLab