Commit 344ed16e094c3da6c059a60fc9075a3df3c74f17
Committed by
Victor Costa
1 parent
0b3f7404
Exists in
staging
and in
4 other branches
Revert "Highlight correct string in form header"
This reverts commit 58eb25a99fcea0876b1ce8da86b8605493bf6fa1.
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
app/helpers/forms_helper.rb
... | ... | @@ -99,7 +99,10 @@ module FormsHelper |
99 | 99 | end |
100 | 100 | |
101 | 101 | def required_fields_message |
102 | - content_tag('p', _("The %{highlighted} fields are mandatory.") % {highlighted: content_tag('span', _("highlighted"), :class=>'required-field')}) | |
102 | + content_tag('p', content_tag('span', | |
103 | + _("The <label class='pseudoformlabel'>highlighted</label> fields are mandatory."), | |
104 | + :class => 'required-field' | |
105 | + )) | |
103 | 106 | end |
104 | 107 | |
105 | 108 | def options_for_select_with_title(container, selected = nil) | ... | ... |