Closed tovodeverett closed 11 years ago
This might be a HAML vs. ERB issue (I don't have a lot of ERB experience), but I had trouble using the sample layout snippet in https://github.com/techiferous/tabulous/blob/master/REFERENCE.md#multiple-tabsets. I got all sorts of errors that the huge block of HTML returned by tabs(:fun) was not a valid partial name.
tabs(:fun)
I suspect that the calls to render are inappropriate and that the sample layout snippet should instead read:
render
<%= tabs(:fun) %> <%= subtabs(:fun) %> <p>some markup</p> <%= tabs(:colors) %> <%= subtabs(:colors) %>
But I could be totally off base, so I apologize if I'm just confused!
Yes, thank you! That is a genuine documentation error and you diagnosed it well. I pushed a corrected version of REFERENCE.md to master.
This might be a HAML vs. ERB issue (I don't have a lot of ERB experience), but I had trouble using the sample layout snippet in https://github.com/techiferous/tabulous/blob/master/REFERENCE.md#multiple-tabsets. I got all sorts of errors that the huge block of HTML returned by
tabs(:fun)
was not a valid partial name.I suspect that the calls to
render
are inappropriate and that the sample layout snippet should instead read:But I could be totally off base, so I apologize if I'm just confused!