[phase-1]improved index looks to add css selector

This commit is contained in:
Toru Takahashi 2018-05-02 09:58:59 +09:00 committed by TAKAHASHI,Toru
parent 8f01c1db2a
commit a86f418baf

View File

@ -1,19 +1,19 @@
<h2>GlossaryTermsController#index</h2> <h2>GlossaryTermsController#index</h2>
<table> <table class="list">
<thead> <thead>
<tr> <tr>
<td>name</td> <th>name</th>
<td>description</td> <th>description</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<% @glossary_terms.each do |term| %> <% @glossary_terms.each do |term| %>
<tr> <tr>
<td> <td class="name">
<%= term.name %> <%= term.name %>
</td> </td>
<td> <td class="description">
<%= term.description %> <%= term.description %>
</td> </td>
</tr> </tr>