Created
April 15, 2017 23:50
-
-
Save mlusiak/ecb3acf26baaad25d32f78af89080319 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Show flight</h2> | |
<ul> | |
<li> | |
<strong>Date:</strong> | |
<%= @flight.date %> | |
</li> | |
<li> | |
<strong>Flight number:</strong> | |
<%= @flight.flight_number %> | |
</li> | |
<li> | |
<strong>Plane Type</strong> | |
<%= @flight.plane_type %> | |
</li> | |
<li> | |
<strong>From:</strong> | |
<%= @flight.from %> (<%= location(@flight.from) %>) | |
</li> | |
<li> | |
<strong>To:</strong> | |
<%= @flight.to %> (<%= location(@flight.to) %>) | |
</li> | |
</ul> | |
<%= link "Edit", to: flight_path(@conn, :edit, @flight) %> | |
<%= link "Back", to: flight_path(@conn, :index) %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment