From d4b75e1e04f0401d6abc27a32cdf9873a233b4c2 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 20 Jun 2015 18:27:33 +0200 Subject: [PATCH] Fix the Create new invoice button --- stoptime.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/stoptime.rb b/stoptime.rb index dc6d719..2082469 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -2232,9 +2232,12 @@ module StopTime::Views h2 do text! "Invoices" - div.btn_group.pull_right do - a.btn.btn_small "ยป Create a new invoice", - :href => R(CustomersNInvoicesNew, @customer.id) + div.btn_group.navbar_right do + a.btn.btn_default.btn_sm :role => "button", + :href => R(CustomersNInvoicesNew, @customer.id) do + _icon("plus") + span "Create new invoice" + end end end _invoice_list(@invoices)