diff --git a/app/views/works/_side_pairings.html.erb b/app/views/works/_side_pairings.html.erb new file mode 100644 index 0000000..0cd185c --- /dev/null +++ b/app/views/works/_side_pairings.html.erb @@ -0,0 +1,11 @@ +<% if @work.side_pairings.any? %> +
+
Side Pairings:
+
+<% @work.side_pairings.each do |pairing| %> +<%= link_to pairing.name, +side_pairing_path(pairing) %> +<% end %> +
+
+<% end %> \ No newline at end of file