Skip to content

Commit

Permalink
Merge pull request #4 from gencat/backport/7008_to_release/0.22-stable
Browse files Browse the repository at this point in the history
Backport "Fix duplicated error in datetime_fields" to release/0.22-stable
  • Loading branch information
laurajaime committed Dec 14, 2020
2 parents a28130d + 7bb90a4 commit 7a147c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-core/lib/decidim/form_builder.rb
Expand Up @@ -387,7 +387,7 @@ def datetime_field(attribute, options = {})
options.merge(data: data)
)
help_text = I18n.t("decidim.datepicker.help_text", datepicker_format: datepicker_format)
template += error_and_help_text(attribute, options.merge(help_text: help_text))
template += content_tag(:span, help_text, class: "help-text")
template.html_safe
end

Expand Down

0 comments on commit 7a147c1

Please sign in to comment.