Created
January 19, 2016 02:42
-
-
Save bethsecor/090aae5af812c2ea08b3 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
<h3>Victories: </h3> | |
<ul> | |
<% @dojo.winning_fights.each do |fight| %> | |
<li> <%= fight.winning_combatant.name %> defeated <%= fight.losing_combatant.name %> of <%= fight.losing_dojo.dojo_name %> </li> | |
<% end %> | |
</ul> | |
<h3>Defeats: </h3> | |
<ul> | |
<% @dojo.losing_fights.each do |fight| %> | |
<li> <%= fight.losing_combatant.name %> was defeated by <%= fight.winning_combatant.name %> of <%= fight.winning_dojo.dojo_name %> </li> | |
<% end %> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment