Skip to content

Commit bb6dc7e

Browse files
author
Stefano Verna
committed
Fix
1 parent 9b3b567 commit bb6dc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/formtastic/inputs/dragonfly_input.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def fragment_download_html
9090
name = name.blank? ? "Download" : name
9191
template.link_to name, original_url
9292
else
93-
"<span class='no-file'>#{I18n.t("dragonfly.no_file")}</div>".html_safe
93+
"<span class='no-file'>#{I18n.t("dragonfly.no_file")}</span>".html_safe
9494
end
9595
fragment_label_html(:download) << download
9696
end

0 commit comments

Comments
 (0)