Ruby on Rails
Monday, July 3, 2017
The instructions I find for this all show use data-toggle="tab" and then separately tab-content I have pages I wanna link to for my <li> items I don't need this extra fancy stuff I have this code but it doesn;t display tabs at all Anyone can correct please Thanks in advance
<ul class="nav nav-tabs>
<li>
<a href="/page/<%= @user.id %>" data-toggle="tab">Timeline</a>
</li>
<li>
<a href="/people/<%= @user.id %>" data-toggle="tab">About</a>
</li>
</ul>
-- <ul class="nav nav-tabs>
<li>
<a href="/page/<%= @user.id %>" data-toggle="tab">Timeline</a>
</li>
<li>
<a href="/people/<%= @user.id %>" data-toggle="tab">About</a>
</li>
</ul>
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3d6d6dd9-9bb0-41d2-9845-b7517036bdfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment