[noosfero/noosfero][master] Revert "Highlight correct string in form header"
Bráulio Bhavamitra
gitlab at gitlab.com
Wed Apr 1 17:11:59 BRT 2015
Bráulio Bhavamitra pushed to master at Noosfero / noosfero
Commits:
61a8e873 by Braulio Bhavamitra at 2015-04-01T17:11:51Z
Revert "Highlight correct string in form header"
This reverts commit 58eb25a99fcea0876b1ce8da86b8605493bf6fa1.
- - - - -
1 changed file:
- app/helpers/forms_helper.rb
Changes:
=====================================
app/helpers/forms_helper.rb
=====================================
--- a/app/helpers/forms_helper.rb
+++ b/app/helpers/forms_helper.rb
@@ -99,7 +99,10 @@ module FormsHelper
end
def required_fields_message
- content_tag('p', _("The %{highlighted} fields are mandatory.") % {highlighted: content_tag('span', _("highlighted"), :class=>'required-field')})
+ content_tag('p', content_tag('span',
+ _("The <label class='pseudoformlabel'>highlighted</label> fields are mandatory."),
+ :class => 'required-field'
+ ))
end
def options_for_select_with_title(container, selected = nil)
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/61a8e87373c708a3559d2d69f3cf6731a6c0a791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150401/10f06953/attachment.html>
More information about the Noosfero-dev
mailing list