Created
May 13, 2014 18:36
-
-
Save jathayde/43df7d63699d2e3332f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def legend_html | |
if render_label? | |
template.content_tag(:legend, label_text) | |
else | |
"".html_safe | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment