Skip to content

Instantly share code, notes, and snippets.

@eqbal
Created December 6, 2016 13:00
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save eqbal/1ecaed1e70dfa3f3585f5ac4e8898f6e to your computer and use it in GitHub Desktop.
<!-- entries/index.html.erb -->
<div>
<%= render 'form' %>
</div>
<hr>
<table>
<tr>
<th>Distance</th>
<th>Time period</th>
<th>Date time</th>
<th>Avg Speed</th>
<th>Weather</th>
<th>Landform</th>
<th>Created at</th>
<th>Updated at</th>
<th></th>
</tr>
<%= render @entries %>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment