Move the 'Create a new invoice' button to a more consistent location

This commit is contained in:
Paul van Tilburg 2014-02-07 21:36:09 +01:00
parent cb14b99f89
commit fd6b853154
1 changed files with 7 additions and 3 deletions

View File

@ -1918,10 +1918,14 @@ module StopTime::Views
end
end
h2 "Invoices"
h2 do
text! "Invoices"
div.btn_group.pull_right do
a.btn.btn_small "» Create a new invoice",
:href => R(CustomersNInvoicesNew, @customer.id)
end
end
_invoice_list(@invoices)
a.btn "» Create a new invoice",
:href => R(CustomersNInvoicesNew, @customer.id)
end
end
end