プロジェクト

全般

プロフィール

« | » 

リビジョン a86f418b

高徹 高橋 徹 さんが約6年前に追加

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

差分を表示:

app/views/glossary_terms/index.html.erb
<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>

他の形式にエクスポート: Unified diff