Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h2>Ships</h2>
- <table class="table table-striped table-hover">
- <tbody>
- <%= for ship <- @ships do %>
- <tr onclick="window.document.location='<%= ship_path(@conn, :html_ship_info, ship.name) %>'">
- <td><%= ship.name %></td>
- <td><%= ship.armor %></td>
- <td><%= ship.class %></td>
- <td><%= ship.subclass %></td>
- <td><%= tag(:img, src: ship.icon_uri, class: "table-image") %></td>
- </tr>
- <% end %>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement