<h3 dir="auto">Description</h3>
<p dir="auto">Using a few more form tag helpers makes the search layout quite a bit more readable.<br>
Less repetition and better integration of the inline_svg tags following <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3002805520" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5938" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5938/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5938">#5938</a>.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Local installation.</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/6212'>https://github.com/openstreetmap/openstreetmap-website/pull/6212</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6212/commits/b3b286deb56d8d3add5cbe1308845fc6c2f28cb3" class="commit-link">b3b286d</a>  Use more Rails' form tag helpers in directions form</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6212/files">3 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6212/files#diff-fdb9558c2ba79ddf9fbcb92594a8a8fa54abb1b3e25ce264de37951b428a958b">app/assets/javascripts/index/directions.js</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6212/files#diff-60b815932a6942ef4da576f75ee4e9b670e2aeb07950b7f8494bdbedb319c8c2">app/views/layouts/_search.html.erb</a>
    (40)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6212/files#diff-081fb5b6a1da6b2f0f153346963554a5195e73fbba65fa8d682b99a8940f88d1">test/system/directions_test.rb</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6212.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6212.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6212.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6212.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/6212">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOT2I2XGSN47KI63E33JOJNBAVCNFSM6AAAAACB54CAW2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGI2DMMZVGEYDAMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLGVOXE6547Z55JLKT3JOJNBA5CNFSM6AAAAACB54CAW2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMC73CTE.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/6212</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/6212",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6212",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>