<h1>{{name}}</h1>
<h3>({{kind}})</h3>
<br>
<p>
 <strong>Origin:</strong> {{origin}}<br>
</p>
{{#if amount}}
  <p>Each batch of <a href="/beers/{{beerID}}">{{beerName}}</a> requires <strong>{{amount}}kg</strong> of this ingredient.</p>
{{/if}}
<br><br>
<h4>
  {{#if beerID}}
    {{#if otherBeers}}
      <h4>Also found in:</h4>
      {{#otherBeers}}
        <p><a href="/beers/{{id}}">{{name}}</p>
      {{/otherBeers}}
    {{else}}
      <p>{{beerName}} is our only beer with this ingredient.</p>
    {{/if}}
  {{else}}
    {{#if beers}}
      Found in:
    {{else}}
      None of our current beers use this ingredient.
    {{/if}}
  {{/if}}
</h4>
  {{#beers}}
    <p><a href="/beers/{{id}}">{{name}}</p>
  {{/beers}}
<br>
{{#if amount}}
  <p><button type="button" method="get" action="/beers/{{beerID}}/ingredients">Go to {{beerName}} ingredients</button></p>
{{/if}}
<p><button type="button" onclick="window.history.back()">Back</button></p>

<h1>{{name}}</h1>
<h3>({{kind}})</h3>
<br>
<p>
 <strong>Origin:</strong> {{origin}}<br>
</p>
{{#if amount}}
  <p>Each batch of <a href="/beers/{{beerID}}">{{beerName}}</a> requires <strong>{{amount}}kg</strong> of this ingredient.</p>
{{/if}}
<br><br>
<h4>
  {{#if beerID}}
    {{#if otherBeers}}
      <h4>Also found in:</h4>
      {{#otherBeers}}
        <p><a href="/beers/{{id}}">{{name}}</p>
      {{/otherBeers}}
    {{else}}
      <p>{{beerName}} is our only beer with this ingredient.</p>
    {{/if}}
  {{else}}
    {{#if beers}}
      Found in:
    {{else}}
      None of our current beers use this ingredient.
    {{/if}}
  {{/if}}
</h4>
  {{#beers}}
    <p><a href="/beers/{{id}}">{{name}}</p>
  {{/beers}}
<br>
<p><button type="button" onclick="window.history.back()">Back</button></p>

Remove beer ingredients button from js
Remove beer ingredients button from js
