<p dir="auto">Other sidebar pages have at least a heading and some placeholder in their <code class="notranslate">.html.erb</code> template, for example <a href="https://github.com/openstreetmap/openstreetmap-website/blob/84aa7f455ae58b4b051368e35dbc43f780b3aa0f/app/views/geocoder/search.html.erb">geocoder search</a>. Directions search is the exception, it's template is <a href="https://github.com/openstreetmap/openstreetmap-website/blob/84aa7f455ae58b4b051368e35dbc43f780b3aa0f/app/views/directions/search.html.erb">essentially empty</a>. Instead everything is written by <code class="notranslate">directions.js</code>.</p>
<p dir="auto">Here I'm moving the directions heading to <code class="notranslate">.html.erb</code>. Actually I'm doing this to add more things to <code class="notranslate">.html.erb</code> later.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4900'>https://github.com/openstreetmap/openstreetmap-website/pull/4900</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4900/commits/78d3b47b2b214f755bc6a14fd6cce23787ea7dae" class="commit-link">78d3b47</a>  Write directions sidebar header using .erb template</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4900/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4900/files#diff-fdb9558c2ba79ddf9fbcb92594a8a8fa54abb1b3e25ce264de37951b428a958b">app/assets/javascripts/index/directions.js</a>
    (52)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4900/files#diff-8a114414669453ee10afc6603077a733d82cbe1cfea93d921414abd72ef1356f">app/views/directions/search.html.erb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4900.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4900.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4900.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4900.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4900">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMIWSA55E6E2WBPBVLZHOBWDAVCNFSM6AAAAABJLFVJVWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TIMRYGUYDEMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLL25GGH36MCF6YYN33ZHOBWDA5CNFSM6AAAAABJLFVJVWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIYU4J3Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4900</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4900",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4900",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>