Tables and forms are good old fashioned features of HTML. They have been playing a pivotal role on the Internet since its inception. With Bootstrap and Rails, we are going to reinvent a whole new way of creating forms and tables in our web applications.
In this chapter, we will take a look at various features of Bootstrap tables and forms. We will use Bootstrap's validation classes while validating forms in a Rails app. Finally, we will use Bootstrap's tables to fill the stored data.
We will continue to develop the same demo application that was half designed in the last chapter. We will now see how to modify the single-product page by using Bootstrap's tables. There are some more pages which were left unstyled in the last chapter: the New Product
Form page and Edit Product
Form page. We will use Bootstrap forms to modify these pages as well.
However, before jumping into the application, we need to understand how Bootstrap's tables and forms...