<%= render partial: "recipes/recipe_options" if user_signed_in? %>

<table>
  <% recipes.each do |recipe| %>
    <tr>
      <td><%= link_to recipe.name, recipe %></td>
      <td><%= image_tag(recipe.photo_path, size: "190x100", alt: "#{recipe.name} photo", title: 'recipe photo' ) %></td>
      <td>
        <table>
          <tr><td><%= render partial: "recipes/review_stars", locals: {stars: recipe.average_stars, url: recipe_recipe_reviews_path(recipe)} %></td></tr>
          <tr><td><%= link_to pluralize(recipe.number_of_reviews, 'review'), recipe_recipe_reviews_path(recipe) %></td></tr>
        </table>
      </td>
    </tr>
  <% end %>
</table>

<%= render partial: "recipes/recipe_options" if user_signed_in? %>

<table>
  <% recipes.each do |recipe| %>
    <tr>
      <td><%= link_to recipe.name, recipe %></td>
      <td><%= image_tag(recipe.photo_path, size: "190x100", alt: "#{recipe.name} photo", title: 'recipe photo' ) %></td>
      <td>
        <table>
          <tr><td><%= render partial: "recipes/review_stars", locals: {stars: recipe.average_stars, url: recipe_recipe_reviews_path(recipe)} %></td></tr>
          <tr><td><%= link_to pluralize(recipe.number_of_reviews, 'review'), recipe_recipe_reviews_path(recipe) %></td>
          <td><%= render partial: "recipes/favorite", locals: {recipe: recipe} %><td>
          </tr>
        </table>
      </td>
    </tr>
  <% end %>
</table>

Put Favorite checkbox back on index page.
Put Favorite checkbox back on index page.
