Added Download Ticket button in the user registration show page

This commit is contained in:
Siddhant Bajaj 2017-06-03 13:23:51 +05:30
parent f6710e3f52
commit 00c3c9da3a

View file

@ -104,6 +104,7 @@
= humanized_money tickets.first.price
%br
- if @tickets.any?
= link_to 'Download Ticket', conference_conference_registration_path(@conference.short_title, format: :pdf), class: 'button btn btn-default btn-info'
= link_to 'Get more tickets', conference_tickets_path(@conference.short_title), class: "btn btn-default"
- else
You haven't bought any tickets.