Skip to content

Commit

Permalink
Correct attachment links
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciaan committed Jan 15, 2017
1 parent 66d927f commit 3eb6bdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/registration_mailer/ticket.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 2px 0 0;"><img style="vertical-align: top;" src="barcode-tilted.png" alt="" width="100" height="200" /></td>
<td style="padding: 2px 0 0;"><%= image_tag attachments['barcode.png'].url, {:style => "vertical-align: top;", :width => "100", :height => 200} %></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -124,7 +124,7 @@
</tr>
<% if @registration.event.registration_cancelable %>
<tr>
<td style="padding: 0 0 15px; font: 16px/23px Arial, Helvetica, sans-serif; color: #fff;">To cancel <%= link_to "click here", cancel_event_registration_url(event_id: @registration.event.id, id: @registration.id, barcode: @registration.barcode), {style=>'font-size: 16px; font-weight: bold; color: #fff; text-decoration: none;'} %></td>
<td style="padding: 0 0 15px; font: 16px/23px Arial, Helvetica, sans-serif; color: #fff;">To cancel <%= link_to "click here", cancel_event_registration_url(event_id: @registration.event.id, id: @registration.id, barcode: @registration.barcode), {:style =>'font-size: 16px; font-weight: bold; color: #fff; text-decoration: none;'} %></td>
</tr>
<% end %>
</tbody>
Expand All @@ -141,7 +141,7 @@
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<img src='barcode.png'>
<%= image_tag attachments['barcode.png'].url %>
</tr>
<tr>
<% unless @registration.event.signature.blank? %>
Expand Down

0 comments on commit 3eb6bdb

Please sign in to comment.