<%= @recipe.description %>

<% if @recipe.total_time.present? || @recipe.active_time.present? %>

<%= recipe_time(@recipe) %>

<% end %> <% if @recipe.yields.present? %>

Yields

<%= @recipe.yields %>

<% end %> <% if @recipe.source.present? %>

Source

<%= @recipe.source %>

<% end %>

Ingredients

    <% @recipe.recipe_ingredients.each do |i| %>
  • <%= i.display_name %>
  • <% end %>

Directions

    <% @recipe.recipe_steps.each do |s| %>
  1. <%= "#{s.step}" %>
  2. <% end %>
<%= link_to 'Edit', edit_recipe_path(@recipe), class: 'btn btn-default' %> <%= link_to 'Back', recipes_path, class: 'btn btn-default' %>