<p dir="auto">This PR addresses issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2286023536" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4773" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/4773/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/4773">#4773</a>: "Raw HTML input used for password field." The login form previously used raw HTML for the password input field, which bypassed the automatic HTML attribute generation and site-wide overrides provided by form helpers.</p>
<ul dir="auto">
<li>Replaced the raw HTML input for the password field with the f.password_field helper.</li>
<li>Ensured the alignment of the password label and the "forgot password" link using Bootstrap classes.</li>
</ul>
<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/4935'>https://github.com/openstreetmap/openstreetmap-website/pull/4935</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4935/commits/5b6ba87905481d43bfb6305b8aa7ded23bb577a6" class="commit-link">5b6ba87</a> refactor password to use form attributes instead of raw html</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4935/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4935/files#diff-5654cfc158c888a40321c1e90f9ea3a0208ae80616b15ff0fa5e939b8f795e87">app/views/sessions/new.html.erb</a>
(16)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4935.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4935.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4935.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4935.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/4935">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIBMHRS5IZL4TRSC63ZKFBEBAVCNFSM6AAAAABKFOAMTWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DGNRXGQ2DOOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNMM62O4WPZ6XSZ63LZKFBEBA5CNFSM6AAAAABKFOAMTWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI4E74NY.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/4935</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/4935",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4935",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>