3 ms·
.banners(id="top-banner", title="Your ad here") Minor correction: the comma there isn't valid Haml syntax, when you use parenthesis for attributes it expects t
by pilaf 4y ago
.banners(id="top-banner", title="Your ad here")
Minor correction: the comma there isn't valid Haml syntax, when you use parenthesis for attributes it expects the same format as inside a regular HTML tag (i.e. attributes separated by whitespace).
But you can also rewrite that as:
#top-banner.banners(title="Your ad here")