[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>
<table>
<table class="list">
<thead>
<tr>
<td>name</td>
<td>description</td>
<th>name</th>
<th>description</th>
</tr>
</thead>
<tbody>
<% @glossary_terms.each do |term| %>
<tr>
<td>
<td class="name">
<%= term.name %>
</td>
<td>
<td class="description">
<%= term.description %>
</td>
</tr>