Guest User

Untitled

a guest
May 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. <p id="reference">Booking Reference: <a href="#" target="_blank"><%= @journey.booking %></a></p>
  2.  
  3. <table id="flights">
  4. <tbody>
  5. <tr class="outbound locations">
  6. <td>Outbound</td>
  7. <th><strong><%= @journey.outbound.departure_airport.shortcode %></strong> <%= @journey.outbound.departure_airport.name %></th>
  8. <th><strong><%= @journey.outbound.arrival_airport.shortcode %></strong> <%= @journey.outbound.arrival_airport.name %></th>
  9. </tr>
  10. <tr class="outbound times">
  11. <th scope="row"><%= @journey.outbound.airline.name %> <strong><span class="glyph">&#x2708;</span> EI715</strong></th>
  12. <td class="depart">
  13. <%= @journey.outbound.departure_time.to_formatted_s(:flightdate) %>
  14. <strong class="afternoon"><%= @journey.outbound.departure_time.to_formatted_s(:flighttime) %></strong>
  15. </td>
  16. <td class="arrive">
  17. <%= @journey.outbound.arrival_time.to_formatted_s(:flightdate) %>
  18. <strong class="afternoon"><%= @journey.outbound.arrival_time.to_formatted_s(:flighttime) %></strong>
  19. </td>
  20. </tr>
  21. <tr class="return locations">
  22. <td>Return</td>
  23. <th><strong><%= @journey.homeward.departure_airport.shortcode %></strong> <%= @journey.homeward.departure_airport.name %></th>
  24. <th><strong><%= @journey.homeward.arrival_airport.shortcode %></strong> <%= @journey.homeward.arrival_airport.name %></th>
  25. </tr>
  26. <tr class="return times">
  27. <th scope="row"><%= @journey.homeward.airline.name %> <strong><span class="glyph">&#x2708;</span> EI724</strong></th>
  28. <td class="depart">
  29. <%= @journey.homeward.departure_time.to_formatted_s(:flightdate) %>
  30. <strong class="afternoon"><%= @journey.homeward.departure_time.to_formatted_s(:flighttime) %></strong>
  31. </td>
  32. <td class="arrive">
  33. <%= @journey.homeward.arrival_time.to_formatted_s(:flightdate) %>
  34. <strong class="afternoon"><%= @journey.homeward.arrival_time.to_formatted_s(:flighttime) %></strong>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
Add Comment
Please, Sign In to add comment