diff --git a/app/views/home/_talk.html.erb b/app/views/home/_talk.html.erb new file mode 100644 index 0000000..c7590ba --- /dev/null +++ b/app/views/home/_talk.html.erb @@ -0,0 +1,7 @@ + + <%= talk.id %> + <%= talk.event_type.name %> + <%= talk.title %> + <%= talk.subtitle %> + <%= @ratings[talk.id] %> + diff --git a/app/views/home/ratings.html.erb b/app/views/home/ratings.html.erb new file mode 100644 index 0000000..69161b5 --- /dev/null +++ b/app/views/home/ratings.html.erb @@ -0,0 +1,14 @@ + + + + + + + + + + + + <%= render partial: 'talk', collection: @talks %> + +
IDTypeTitleSubtitleVotes