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

Commit

Permalink
Add line break to wrapper_select_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rono23 committed Jan 7, 2015
1 parent a175428 commit 72555cf
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion lib/date_select_separator/action_view_extension.rb
Expand Up @@ -41,7 +41,7 @@ def wrapper_select_tag(select_tag, type, separator_options)
wrapper_options = separator_options[:wrapper_select_tag]
wrapper_options = wrapper_options.is_a?(Hash) ? default_options.merge(wrapper_options) : default_options
class_name = wrapper_options[:class_prefix] + "#{type}"
content_tag(wrapper_options[:html_tag], select_tag, class: class_name) + "\n"
content_tag(wrapper_options[:html_tag], "\n".html_safe + select_tag, class: class_name) + "\n"
end

def separator_text(type, separator_options)
Expand Down

0 comments on commit 72555cf

Please sign in to comment.