S
S
saveliy_zhuravlev2015-03-17 12:15:58
css
saveliy_zhuravlev, 2015-03-17 12:15:58

How to fix Bootstrap bug in Ruby on Rails project?

I recently started learning RoR from this book . But in chapter 5, when connecting the bootstrap, this picture comes out. c531fac365af48998ace3e5c4aec3ddf.jpg
As far as I understand, the problem is in the marked list. How can I make it lay horizontally instead of vertically? Here is the resulting page code

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Chernik, 2015-03-17
@saveliy_zhuravlev

I ran into Bootstrap version difference issues myself.
Use this service here .
Just paste your code with bootstrap tags/parameters of the 2nd version, and it will convert it to the 3rd one for you.
The only thing, be careful, check that the converter does not convert non-bootstrap code for you, if you suddenly copy all the code (including html / ruby) :)

S
saveliy_zhuravlev, 2015-03-17
@saveliy_zhuravlev

This is the difference in Bootstrap 2 and 3
nav is replaced with nav navbar-nav

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question