<p>This addresses issue <a href="https://github.com/openstreetmap/openstreetmap-website/issues/668" class="issue-link" title="Messaging: missing subject kills message">#668</a> where a message submitted without a subject resets the form with a blank message. The form already uses <a href="https://github.com/body" class="user-mention">@body</a> and we can refill the form with the message if a save fails.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/songpete/openstreetmap-website patch-1</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/694'>https://github.com/openstreetmap/openstreetmap-website/pull/694</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Message won't get lost if user forgets subject</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/694/files#diff-0">app/controllers/message_controller.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/694.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/694.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/694.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/694.diff</a></li>
</ul>
<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/694'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNzA4MjU3MiwiZGF0YSI6eyJpZCI6MjQ5Mzg2NTN9fQ==--5f89967ffd74080f5124e61668f9cb68f8589857.gif' height='1' width='1'></p>