リビジョン 1378a95a
| app/views/glossary_terms/show.html.erb | ||
|---|---|---|
|
<h3><%= @term.name %></h3>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<th><%=l :field_category %></th>
|
||
|
<td><%= @term.category.try!(:name) %>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th><%=l :field_description %></th>
|
||
|
<td><%= @term.description %></td>
|
||
[phase-5]add category field to term index/detail view, and edit form