<commit_before><div class="main-content under-nav">
	<div class="brewsheet">

		<form name="editForm" ng-submit="editCtrl.updateRecipe()">

			<div class="form-group">
				<label class="required">Name:</label>
				<input class="form-control" name="name" type="text" ng-model="editCtrl.recipe.name" required>
				<p ng-show="editForm.name.$invalid && !editForm.name.$pristine" class="help-block">A name is required.</p>
				<label>Description:</label>
				<input class="form-control" type="text" ng-model="editCtrl.recipe.description">
			</div>


			<div class="section-one">

				<div class="form-group">
					<label>Style:</label>
					<select
						ng-model="editCtrl.recipe.style"
						ng-options="s as s for s in editCtrl.stylesArray | orderBy: 'name'">
					</select>
				</div>

				<div class="form-group">
					<label class="required">Target OG:</label>
					<input name="targetOG" type="text" ng-model="editCtrl.recipe.targetOG" required>
					<p ng-show="editForm.targetOG.$invalid && !editForm.targetOG.$pristine" class="help-block">A target OG is required.</p>
				</div>

				<div class="form-group">
					<label>Target FG:</label>
					<input type="text" ng-model="editCtrl.recipe.targetFG">
				</div>

				<div class="form-group">
					<label class="required">Batch size:</label>
					<input name="batchSize" type="text" ng-model="editCtrl.recipe.batchSize" required>
					<p ng-show="editForm.batchSize.$invalid && !editForm.batchSize.$pristine" class="help-block">A batch size is required.</p>
				</div>

				<div class="form-group">
					<label>Mash temp:</label>
					<input type="text" ng-model="editCtrl.recipe.mashTemp">
				</div>

				<div class="form-group">
					<label class="required">Efficiency:</label>
					<input name="efficiency" type="text" ng-model="editCtrl.recipe.mashEff" required>
					<p ng-show="editForm.efficiency.$invalid && !editForm.efficiency.$pristine" class="help-block">Efficiency is required.</p>
				</div>
			</div>


			<div class="section-two">

	<!--FERMENTABLES-->
			<div>
				<h4>Fermentables:</h4>
				<table class="table mqTable">
					<thead>
						<tr>
							<th class="tHeader">Grain</th>
							<th class="tHeader">% of Grain Bill</th>
							<th class="tHeader"></th>
						</tr>
					</thead>
					<tbody>
						<tr ng-repeat="ferm in editCtrl.recipe.grainBill">
							<td class="tData">
								<select
									ng-model="ferm.name"
									ng-options="f as f for f in editCtrl.fermentablesArray">
								</select>
							</td>
							<td class="tData">
								<input type="text" ng-model="ferm.percent">
							</td>
							<td class="tData">
								<div class="btn btn-default button" ng-click="editCtrl.deleteFerm(ferm)">Delete</div>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="btn btn-default button" ng-click="editCtrl.addFermentable()">Add Grain</div>
			</div>

	<!--HOPS-->
			<div>
				<h4>Hops:</h4>
				<table class="table">
					<thead><commit_msg>add ferm mash placement options to edit recipe page<commit_after><div class="main-content under-nav">
	<div class="brewsheet">

		<form name="editForm" ng-submit="editCtrl.updateRecipe()">

			<div class="form-group">
				<label class="required">Name:</label>
				<input class="form-control" name="name" type="text" ng-model="editCtrl.recipe.name" required>
				<p ng-show="editForm.name.$invalid && !editForm.name.$pristine" class="help-block">A name is required.</p>
				<label>Description:</label>
				<input class="form-control" type="text" ng-model="editCtrl.recipe.description">
			</div>


			<div class="section-one">

				<div class="form-group">
					<label>Style:</label>
					<select
						ng-model="editCtrl.recipe.style"
						ng-options="s as s for s in editCtrl.stylesArray | orderBy: 'name'">
					</select>
				</div>

				<div class="form-group">
					<label class="required">Target OG:</label>
					<input name="targetOG" type="text" ng-model="editCtrl.recipe.targetOG" required>
					<p ng-show="editForm.targetOG.$invalid && !editForm.targetOG.$pristine" class="help-block">A target OG is required.</p>
				</div>

				<div class="form-group">
					<label>Target FG:</label>
					<input type="text" ng-model="editCtrl.recipe.targetFG">
				</div>

				<div class="form-group">
					<label class="required">Batch size:</label>
					<input name="batchSize" type="text" ng-model="editCtrl.recipe.batchSize" required>
					<p ng-show="editForm.batchSize.$invalid && !editForm.batchSize.$pristine" class="help-block">A batch size is required.</p>
				</div>

				<div class="form-group">
					<label>Mash temp:</label>
					<input type="text" ng-model="editCtrl.recipe.mashTemp">
				</div>

				<div class="form-group">
					<label class="required">Efficiency:</label>
					<input name="efficiency" type="text" ng-model="editCtrl.recipe.mashEff" required>
					<p ng-show="editForm.efficiency.$invalid && !editForm.efficiency.$pristine" class="help-block">Efficiency is required.</p>
				</div>
			</div>


			<div class="section-two">

	<!--FERMENTABLES-->
			<div>
				<h4>Fermentables:</h4>
				<table class="table mqTable">
					<thead>
						<tr>
							<th class="tHeader">Grain</th>
							<th class="tHeader">% of Grain Bill</th>
							<th class="tHeader">Add in...</th>
							<th class="tHeader"></th>
						</tr>
					</thead>
					<tbody>
						<tr ng-repeat="ferm in editCtrl.recipe.grainBill">
							<td class="tData">
								<select
									ng-model="ferm.name"
									ng-options="f as f for f in editCtrl.fermentablesArray">
								</select>
							</td>
							<td class="tData">
								<input type="text" ng-model="ferm.percent">
							</td>
							<td class="tData">
								<select ng-model="ferm.mashed">
									<option ng-value="'YES'">Mash tun</option>
									<option ng-value="'NO'">Boil/fermenter</option>
								</select>
							</td>
							<td class="tData">
								<div class="btn btn-default button" ng-click="editCtrl.deleteFerm(ferm)">Delete</div>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="btn btn-default button" ng-click="editCtrl.addFermentable()">Add Grain</div>
			</div>

	<!--HOPS-->
			<div>
				<h4>Hops:</h4>
				<table class="table">
					<thead>
{'fraction_non_alphanumeric': 0.18679549114331723, 'fraction_numerical': 0.0012882447665056361, 'mean_word_length': 3.0996699669966996, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 199, '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': '1278130', 'n_tokens_mistral': 2804, 'n_tokens_neox': 2088, 'n_words': 399}