Skip to content

Instantly share code, notes, and snippets.

@mmun
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmun/5ea0006e492811f4857b to your computer and use it in GitHub Desktop.
Save mmun/5ea0006e492811f4857b to your computer and use it in GitHub Desktop.
== link_to "Contact us", "pricing", class: "button button-sign-up", :onclick => "_gaq.push(['_trackEvent', 'Sign Up Button', 'Clicked', 'Blog sign up']);"
= link_to "Contact us", "pricing", \
class: "button button-sign-up", \
:onclick => "_gaq.push(['_trackEvent', 'Sign Up Button', 'Clicked', 'Blog sign up']);"
/ Actually, you don't need a \ if the line ends in a comma.
= link_to "Contact us", "pricing",
class: "button button-sign-up",
:onclick => "_gaq.push(['_trackEvent', 'Sign Up Button', 'Clicked', 'Blog sign up']);"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment