Ruby on Rails Monday, July 3, 2017



On Monday, July 3, 2017 at 7:36:18 AM UTC-4, nynhex wrote:
Have you tried googling or reading the docs?

On Jul 3, 2017, at 5:44 AM, fugee ohu <fuge...@gmail.com> wrote:

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>


--
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.


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>

 

--
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/c54ac2cb-498d-4b92-89ef-1e7d434f598c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment