Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Use html_safe for error_messages_for helper. Let's you use HTML in your translations. #98

Merged
merged 1 commit into from
Apr 25, 2011

Conversation

nhocki
Copy link
Contributor

@nhocki nhocki commented Apr 11, 2011

Use html_safe translated messages. This will let you use this
errors:
format: "%{attribute} %{message}"

and renders it properly

… "<strong>%{attribute}</strong> %{message}" and renders it properly
ryanb added a commit that referenced this pull request Apr 25, 2011
Use html_safe for error_messages_for helper. Let's you use HTML in your translations.
@ryanb ryanb merged commit 2363790 into ryanb:master Apr 25, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants