Skip to content

Commit

Permalink
Added bond inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
miketalley committed Jul 15, 2014
1 parent 3ca8760 commit 220cb39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/views/bonds/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

<% @bonds.each do |bond| %>
<div class='row'>
<div class='col-md-1'><%= bond.id %></div>
<div class='col-md-3'><% if !bond.source.name.nil? %><%= bond.source.name %><% end %></div>
<div class='col-md-1'><% if !bond.source.id.nil? %><%= bond.source.id %><% end %></div>
<div class='col-md-3'><% if !bond.target.name.nil? %><%= bond.target.name %><% end %></div>
<div class='col-md-1'><% if !bond.target.id.nil? %><%= bond.target.id %><% end %></div>
<div class='col-md-1'><%= bond.id %><%= bond.inspect %></div>
<div class='col-md-3'><%= link_to 'Show', bond %> |
<%= link_to 'Edit', edit_bond_path(bond) %> |
<%= link_to 'Destroy', bond, method: :delete, data: { confirm: 'Are you sure?' } %>
Expand Down

0 comments on commit 220cb39

Please sign in to comment.