openstreetmap-website/app/views
Andy Allan 24f6aeda6a Use hash-based flash objects to render complex flash messages
Since flash objects can only be String, Hash or Array (notably excluding SafeBuffers), then this approach is necessary to render complex html in a safe manner.

Each local can be treated as an (unsafe) string, and therefore escaped normally when rendered into the template. The template (and translation strings) can
contain html since they are no longer stored in the flash as a plain string.

Fixes #3215
2021-06-23 20:10:55 +01:00
..
api Merge branch 'pull/3164' 2021-04-14 16:13:29 +01:00
application Rework sidebar to use padding on the sidebar_content div 2021-06-16 15:45:58 +01:00
browse Rework sidebar to use padding on the sidebar_content div 2021-06-16 15:45:58 +01:00
changeset_comments Use friendly_date_ago helper for changeset comments 2019-06-19 18:04:08 +02:00
changesets Rework sidebar to use padding on the sidebar_content div 2021-06-16 15:45:58 +01:00
confirmations Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
diary_entries Fix erblint warnings 2021-06-05 07:40:55 +01:00
directions Permalinks for directions 2014-05-14 15:52:25 -07:00
errors Whitespace fixes for errors erb files 2019-03-26 20:23:35 +00:00
export Whitespace fixes to various erb files 2019-03-26 20:23:35 +00:00
friendships Convert make/remove friend forms to use bootstrap 2020-09-03 23:49:32 +01:00
geocoder Rework sidebar to use padding on the sidebar_content div 2021-06-16 15:45:58 +01:00
issues Fix erblint warnings 2021-06-05 07:40:55 +01:00
layouts Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
messages Chasing parse errors 2021-03-13 10:49:52 -08:00
notes Display no notes message when empty 2021-04-09 19:21:09 +01:00
oauth Convert oauth authorization form to use bootstrap 2020-09-04 00:36:43 +01:00
oauth_clients Use small bootstrap buttons for oauth client actions 2021-02-03 13:44:52 +00:00
passwords Split password reset functionality into PasswordsController 2021-04-07 16:05:28 +01:00
redactions Converge redaction forms to use bootstrap 2021-01-27 17:04:47 +00:00
reports Refactor reports form to use bootstrap 2020-08-19 16:58:43 +02:00
sessions Remove the Yahoo OpenID link as they no longer support OpenID 2021-06-17 22:33:05 +01:00
shared Refactor richtext fields to use a custom bootstrap_form input. 2021-01-13 14:05:39 +00:00
site Rework sidebar to use padding on the sidebar_content div 2021-06-16 15:45:58 +01:00
traces Wrap the rss and upload buttons in a div, with suitable padding for both vertical and horizontal tab layouts 2021-06-16 17:08:26 +01:00
user_blocks Fix erblint warnings 2021-06-05 07:40:55 +01:00
user_mailer Add missing html suffix to translation key 2020-12-08 13:50:22 +00:00
users Fix erblint warnings 2021-06-05 07:40:55 +01:00