Coding the "target" attribute on a "link_to" #1697
-
Within my template I'm coding
And it's working fine, generating an anchor tag along these lines:
I want the link to open in a separate tab, which I'd normally do by putting
And the same with parens round the Can I do this, and if so how? If not, what? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no magic, |
Beta Was this translation helpful? Give feedback.
There is no magic,
target
is just another attribute. Just likeclass
,id
oralt
.