<commit_before><%= render 'shared/page_title', title: @recipe.name -%>
<div class="row">
  <div class="col-md-4 pull-right center">
    <%= link_to gravatar_for(@recipe.chef, size: 200), chef_path(@recipe.chef) -%>
    <p>
    <h5>Brought to you by: <%= @recipe.chef.chefname -%></h5>
    </p>
  </div>
  <div class="col-md-8">
    <% if logged_in? and (@recipe.chef == current_user or current_user.admin?) %>
        <%= link_to 'Edit this Recipe', edit_recipe_path(@recipe), class: 'btn btn-success pull-right' -%>
    <% end %>
    <% if current_user.admin? %>
        <%= link_to '[Delete Recipe]', @recipe, method: :delete, data: {confirm: 'Are you sure?'} -%>
    <% end %>
    <h3><%= @recipe.summary -%></h3>
    <div class="show_recipe">
      <%= image_tag(@recipe.picture.url, class: 'gravatar') if @recipe.picture? -%>
    </div>
    <div class="well">
      <% if @recipe.styles.any? %>
          <p>Style : <%= render @recipe.styles -%></p>
      <% end %>
      <% if @recipe.ingredients.any? %>
          <p>Ingredient : <%= render @recipe.ingredients -%></p>
      <% end %>
      <p><strong>Steps:</strong></p>
      <%= simple_format(@recipe.description) -%><commit_msg>fix Modify show recipes to fix bug - Not logged in user show recipe details then show error code display to fix<commit_after><%= render 'shared/page_title', title: @recipe.name -%>
<div class="row">
  <div class="col-md-4 pull-right center">
    <%= link_to gravatar_for(@recipe.chef, size: 200), chef_path(@recipe.chef) -%>
    <p>
    <h5>Brought to you by: <%= @recipe.chef.chefname -%></h5>
    </p>
  </div>
  <div class="col-md-8">
    <% if logged_in? and (@recipe.chef == current_user or current_user.admin?) %>
        <%= link_to 'Edit this Recipe', edit_recipe_path(@recipe), class: 'btn btn-success pull-right' -%>
    <% end %>
    <% if logged_in? and current_user.admin? %>
        <%= link_to '[Delete Recipe]', @recipe, method: :delete, data: {confirm: 'Are you sure?'} -%>
    <% end %>
    <h3><%= @recipe.summary -%></h3>
    <div class="show_recipe">
      <%= image_tag(@recipe.picture.url, class: 'gravatar') if @recipe.picture? -%>
    </div>
    <div class="well">
      <% if @recipe.styles.any? %>
          <p>Style : <%= render @recipe.styles -%></p>
      <% end %>
      <% if @recipe.ingredients.any? %>
          <p>Ingredient : <%= render @recipe.ingredients -%></p>
      <% end %>
      <p><strong>Steps:</strong></p>
      <%= simple_format(@recipe.description) -%>
{'fraction_non_alphanumeric': 0.21035728623042954, 'fraction_numerical': 0.0072260136491368926, 'mean_word_length': 3.025848142164782, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7367468', 'n_tokens_mistral': 983, 'n_tokens_neox': 914, 'n_words': 196}