bootstrap tabs

14 views
Skip to first unread message

fugee ohu

unread,
Jul 3, 2017, 6:44:06 AM7/3/17
to Ruby on Rails: Talk
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>

nynhex

unread,
Jul 3, 2017, 7:36:18 AM7/3/17
to rubyonra...@googlegroups.com
Have you tried googling or reading the docs?

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@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.

Message has been deleted

fugee ohu

unread,
Jul 3, 2017, 9:18:18 AM7/3/17
to Ruby on Rails: Talk

Not showing tab outlines nor highlight of current tab

<ul class="nav nav-tabs">
  <li class="nav-item">
    <a class="nav-link active" href="/page/<%= @user.id %>">Timeline</a>
  </li>
<li class="nav-item">
    <a class="nav-link" href="/people/<%= @user.id %>">About</a>
  </li>
</ul>

 
Reply all
Reply to author
Forward
0 new messages