openstreetmap-website/app
Ævar Arnfjörð Bjarmason 2153fb6efd Fixed a bug in how fields in /message/new were being pre-filled out.
When someone went to /message/new/:user the "Subject" are would be
pre-filled out with t('message.new.title'). The problem was that the
@title template variable was being used for two purposes, to set the
HTML <title> AND to pre-fill out the subject.

We don't always want these two to be the same, but sometimes we
do. E.g. when someone replies to a diary entry and visits
/message/new/:user?title=Foo we want Foo in the <title> and in the
pre-filled out Subject, and the same goes for replying to a message.

So I've split up the @title variable into @title and @subject.
2009-07-12 16:01:49 +00:00
..
controllers Fixed a bug in how fields in /message/new were being pre-filled out. 2009-07-12 16:01:49 +00:00
helpers Make the printable_name() function call i18n.t to translate its 2009-06-28 21:13:27 +00:00
models added comment for future generations 2009-07-07 22:50:46 +00:00
views Fixed a bug in how fields in /message/new were being pre-filled out. 2009-07-12 16:01:49 +00:00