<p>This refactors the reports, issues and client_application forms to use Bootstrap form components.</p>
<p>The bootstrap_form <code>collection_radio_buttons</code> helper expects a group of objects that respond to methods, so we can't use the array of report category strings directly. I think the helper method is the best approach to this, since it leaves the form itself easy to read.</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/2782'>https://github.com/openstreetmap/openstreetmap-website/pull/2782</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Refactor reports form to use bootstrap</li>
  <li>Rework issue search form to use Bootstrap form layout</li>
  <li>Avoid showing table header when there are no results</li>
  <li>Refactor client application pages to use bootstrap forms</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-e21fe64fe3d9729c939108380dfcc177">app/helpers/reports_helper.rb</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-f99e7f31882042f2501d6af5f30f9396">app/views/issues/index.html.erb</a>
    (105)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-81f6f028ca83b612d20dbe449640bfe4">app/views/oauth_clients/_form.html.erb</a>
    (38)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-72918a44d8787caf20ce25254170eb08">app/views/oauth_clients/edit.html.erb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-84f65e62924f788e1a5313f0256aca9d">app/views/oauth_clients/new.html.erb</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-32abed273a19048d6b900b08ca18799e">app/views/oauth_clients/show.html.erb</a>
    (48)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-e699cb33ba6c70d10fc0c15d039c1841">app/views/reports/new.html.erb</a>
    (35)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2782/files#diff-37c9b835927e3c363588f172de9bb6fa">config/locales/en.yml</a>
    (38)
  </li>
</ul>

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

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