Now we will create the form for the creation of bands using the modal feature bootstrap:
Open the
views/pages/index.html
file and add the following code at the end of the file:<div class="modal fade" id="createBand" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <form action="/bands" method="post"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> <h4 class="modal-title" id="myModalLabel">Insert an Album</h4> </div> <div class="modal-body"> <fieldset class="form-group"> <label for="inputname">Band...