Created
March 21, 2017 23:08
-
-
Save mlusiak/91f2ab3d668f89d2f8056eb0582a32ca to your computer and use it in GitHub Desktop.
Elixir Template 2
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
<div class="jumbotron"> | |
<h2>Flight details</h2> | |
<%= if @id=="1" do %> | |
<strong>Date:</strong> 13.03.2017</br> | |
<strong>Flight Number:</strong>SK 753</br> | |
<strong>From:</strong> CPH</br> | |
<strong>To:</strong> GDN</br> | |
<% else %> | |
No information about flight <%= @id %> ;( ! | |
<% end %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment