<p>Part of the view reformmating was inspired by the HAML conversation - there aren't many rules about how views are formatted, and it leads to them being rather hard to deal with.</p>

<p>My indentation rule is very simple: HTML is indented 2 spaces, so should all code in the file, with 2 spaces from the previous line - not from the end of the function name - being the indent. In a lot of cases in this file, ruby was, for some reason, indented 4 spaces. Aligning with initial argument doesn't seem to fit any pattern for me, it's not used in the Javascript code nor Ruby afaik in the site.</p>

<p>That, and the classic trying-to-break-lines-at-80chars rule.</p>

<p>Blank lines I could go either way.</p>

            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              —<br>
              Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/83#issuecomment-8333087'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKLXMumrFlPSPT9RWGDP9p0NyvNAyjY3wZz6q8DlyKdVL.gif' height='1' width='1'>