<commit_before><h2>Recipe: {{detail.title}}</h2>
<strong>GRC:</strong> {{detail.general_recipe_comment}}
<br>
<br>
<a ng-href="#/users/{{username}}/recipes/{{detail.id}}/brewit"><button>BREW IT!</button></a>
<button ng-click="Eliminate()">Delete</button>
<button>Make Public</button>
<button>Clone</button>
<br>
<br>
<strong>Orientation:</strong> {{detail.orientation}}
<br>
<strong>Rating:</strong> {{detail.rating}}
<br>
<strong>Bean Type:</strong> {{detail.bean_name}}
<br>
<strong>Bean Roast:</strong> {{detail.roast}}
<br>
<strong>Grind:</strong> {{detail.grind}}
<br>
<strong>Bean Amount:</strong> {{detail.total_bean_amount}} {{detail.bean_units}}
<br>
<strong>Water:</strong> {{detail.water_type}} {{detail.total_water_amount}} {{detail.water_units}}
<br>
<strong>Brew Count:</strong> {{detail.brew_count}} brews
<br>
<strong>Total Duration:</strong> {{detail.total_duration}} seconds
<br>
<h2>Steps:</h2>
<div ng-repeat="step in steps">
  <a href="" class="show-steps" ng-click="showSteps(step.id)"><strong>Step {{step.step_number}}: {{step.step_title}}:</strong> </a> {{step.duration}} seconds
  <button ng-click="showEditStep(step.id)">Edit Step</button>
  <button ng-click="deleteStep(step.step_number, step.id)">Delete Step</button>
  <br>
  <p class="step {{step.id}} hidden">{{step.step_body}}
    <br>
    Water: {{step.water_amount}} {{detail.water_units}}
    <br>
  </p>


  <!-- edit step form -->
  <form class="hidden edit-step {{step.id}}"  ng-submit="editStep(step)">
    <section class="columns general">
      <legend><h4>Add Steps</h4></legend>
      <label>Step Title</label>
      <input maxlength="50" type="text" ng-model="step.step_title"></input>
      <label>Step Details</label>
      <textarea maxlength="255" type="text"  ng-model="step.step_body"></textarea>
    </section>
    <section class="columns steps">
      <label>Step Number:</label>
      <input type="number" placeholder="#" ng-model="step.step_number"></input>
      <label>Duration</label>
      <input type="number"  placeholder="#" ng-model="step.duration"></input>
      <label>Water Amount</label>
      <input type="number"  placeholder="#" ng-model="step.water_amount"> </input>
    </section>
    <div class="columns general">
      <button type="submit">Save</button>
      <!-- <button><a href="#/recipe/brew">BREW IT!</a></button> -->
    </div>
  </form><!--edit Step Form-->



  <br>
</div> <!--end ng-repeat for steps -->
<!-- <div class="addSteps" ng-controller="createNewStep"> -->
<div class="addSteps">

  <button ng-click="showAddSteps()">Add Steps</button>
  <form class="hidden create-new-step"  ng-submit="submit()">
    <section class="columns general">
      <legend><h4>Add Steps</h4></legend>
      <label>Step Title</label>
      <input maxlength="50" type="text" ng-model="step.step_title"></input>
      <label>Step Details</label>
      <textarea maxlength="255" type="text" placeholder="Pour slowly, using side-to-side motion to ensure no dry spots" ng-model="step.step_detail"></textarea>
    </section>
    <section class="columns steps">
      <label>Step Number:</label>
      <input type="number" placeholder="#" ng-model="step.step_number"></input>
      <label>Duration</label>
      <input type="number"  placeholder="#" ng-model="step.duration"></input>
      <label>Water Amount</label>
      <input type="number"  placeholder="#" ng-model="step.water_amount"> </input>
    </section>
    <div class="columns general">
      <button><a href="#/users/{{username}}/recipes/{{detail.id}}">VIEW IT!</a></button>
      <button type="submit">Add Step</button>
      <!-- <button><a href="#/recipe/brew">BREW IT!</a></button> -->
    </div>
  </form><!--Add Step Form-->
  <button class="hidden done-adding" ng-click="hideAddSteps()">Done Adding Steps</button>
</div> <!-- add step section -->
<a href="" ng-click="showNotes()"><h2>Brew Notes:</h2></a>
<div class="notes hidden" ng-repeat="note in notes">
  <strong>{{note.body}}</strong>
  <br>
  on {{note.timestamp}}
  <br>
  <br>
</div>
<button>Edit Recipe</button>
<commit_msg>remove 'view it' button from adding steps form<commit_after><h2>Recipe: {{detail.title}}</h2>
<strong>GRC:</strong> {{detail.general_recipe_comment}}
<br>
<br>
<a ng-href="#/users/{{username}}/recipes/{{detail.id}}/brewit"><button>BREW IT!</button></a>
<button ng-click="Eliminate()">Delete</button>
<button>Make Public</button>
<button>Clone</button>
<br>
<br>
<strong>Orientation:</strong> {{detail.orientation}}
<br>
<strong>Rating:</strong> {{detail.rating}}
<br>
<strong>Bean Type:</strong> {{detail.bean_name}}
<br>
<strong>Bean Roast:</strong> {{detail.roast}}
<br>
<strong>Grind:</strong> {{detail.grind}}
<br>
<strong>Bean Amount:</strong> {{detail.total_bean_amount}} {{detail.bean_units}}
<br>
<strong>Water:</strong> {{detail.water_type}} {{detail.total_water_amount}} {{detail.water_units}}
<br>
<strong>Brew Count:</strong> {{detail.brew_count}} brews
<br>
<strong>Total Duration:</strong> {{detail.total_duration}} seconds
<br>
<h2>Steps:</h2>
<div ng-repeat="step in steps">
  <a href="" class="show-steps" ng-click="showSteps(step.id)"><strong>Step {{step.step_number}}: {{step.step_title}}:</strong> </a> {{step.duration}} seconds
  <button ng-click="showEditStep(step.id)">Edit Step</button>
  <button ng-click="deleteStep(step.step_number, step.id)">Delete Step</button>
  <br>
  <p class="step {{step.id}} hidden">{{step.step_body}}
    <br>
    Water: {{step.water_amount}} {{detail.water_units}}
    <br>
  </p>


  <!-- edit step form -->
  <form class="hidden edit-step {{step.id}}"  ng-submit="editStep(step)">
    <section class="columns general">
      <legend><h4>Add Steps</h4></legend>
      <label>Step Title</label>
      <input maxlength="50" type="text" ng-model="step.step_title"></input>
      <label>Step Details</label>
      <textarea maxlength="255" type="text"  ng-model="step.step_body"></textarea>
    </section>
    <section class="columns steps">
      <label>Step Number:</label>
      <input type="number" placeholder="#" ng-model="step.step_number"></input>
      <label>Duration</label>
      <input type="number"  placeholder="#" ng-model="step.duration"></input>
      <label>Water Amount</label>
      <input type="number"  placeholder="#" ng-model="step.water_amount"> </input>
    </section>
    <div class="columns general">
      <button type="submit">Save</button>
      <!-- <button><a href="#/recipe/brew">BREW IT!</a></button> -->
    </div>
  </form><!--edit Step Form-->



  <br>
</div> <!--end ng-repeat for steps -->
<!-- <div class="addSteps" ng-controller="createNewStep"> -->
<div class="addSteps">

  <button ng-click="showAddSteps()">Add Steps</button>
  <form class="hidden create-new-step"  ng-submit="submit()">
    <section class="columns general">
      <legend><h4>Add Steps</h4></legend>
      <label>Step Title</label>
      <input maxlength="50" type="text" ng-model="step.step_title"></input>
      <label>Step Details</label>
      <textarea maxlength="255" type="text" placeholder="Pour slowly, using side-to-side motion to ensure no dry spots" ng-model="step.step_detail"></textarea>
    </section>
    <section class="columns steps">
      <label>Step Number:</label>
      <input type="number" placeholder="#" ng-model="step.step_number"></input>
      <label>Duration</label>
      <input type="number"  placeholder="#" ng-model="step.duration"></input>
      <label>Water Amount</label>
      <input type="number"  placeholder="#" ng-model="step.water_amount"> </input>
    </section>
    <div class="columns general">
      <button type="submit">Add Step</button>
      <!-- <button><a href="#/recipe/brew">BREW IT!</a></button> -->
    </div>
  </form><!--Add Step Form-->
  <button class="hidden done-adding" ng-click="hideAddSteps()">Done Adding Steps</button>
</div> <!-- add step section -->
<a href="" ng-click="showNotes()"><h2>Brew Notes:</h2></a>
<div class="notes hidden" ng-repeat="note in notes">
  <strong>{{note.body}}</strong>
  <br>
  on {{note.timestamp}}
  <br>
  <br>
</div>
<button>Edit Recipe</button>

{'fraction_non_alphanumeric': 0.2193069306930693, 'fraction_numerical': 0.0049504950495049506, 'mean_word_length': 4.573103448275862, 'pattern_counts': {'":': 0, '<': 341, '<?xml version=': 0, '>': 341, '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': '4531017', 'n_tokens_mistral': 2774, 'n_tokens_neox': 2682, 'n_words': 520}