porkchopclub/porkchop

View on GitHub
app/views/matches/_form.html.haml

Summary

Maintainability
Test Coverage
= form_tag matches_path do |f|
  %h2 Who's next?

  %p= @matchup.players.map(&:name).join(" vs. ")

  %br
  = submit_tag "Create match!"