Rails can't see table edges -
i trying make table model , dont appearance. examples on internet normal, mine have visual problem. index.html.erb
<table class="pretty"> <tr> <th><%= sortable "name" %></th> <th><%= sortable "city" %></th> <th><%= sortable "country" %></th> <th><%= sortable "street_address" %></th> <th><%= sortable "sector" %></th> <th><%= sortable "telephone" %></th> <th><%= sortable "fax" %></th> </tr> <% company in @companies %> <tr> <td><%= company.name %></td> <td><%= company.city %></td> <td><%= company.country %></td> <td><%= company.street_address %></td> <td><%= company.sector %></td> <td><%= company.telephone %></td> <td><%= company.fax %></td> </tr> <% end %> </table>
it should this:
mine looks this:
i did in basic way. changed table row this:
<table class="pretty" border="1" cellpadding="10">
Comments
Post a Comment