From d006392d047ac496e9ed29bdc613132fd536d382 Mon Sep 17 00:00:00 2001 From: Stavy Date: Fri, 1 Dec 2017 21:59:02 +0200 Subject: [PATCH] correct string interpolation --- app/views/conference_registrations/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/conference_registrations/show.html.haml b/app/views/conference_registrations/show.html.haml index a50cf198fd..e803870386 100644 --- a/app/views/conference_registrations/show.html.haml +++ b/app/views/conference_registrations/show.html.haml @@ -104,7 +104,7 @@ = humanized_money @total_price_per_ticket[ticket_id] %br - if @tickets.any? - = link_to 'Get more tickets', conference_tickets_path(@conference.short_title), class: "btn btn-default" + = link_to 'Get more tickets', conference_tickets_path(@conference.short_title), class: 'btn btn-default' - else You haven't bought any tickets. = link_to 'Please get some tickets to support us!', conference_tickets_path(@conference.short_title)