プロジェクト

全般

プロフィール

« | » 

リビジョン 1378a95a

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

[phase-5]add category field to term index/detail view, and edit form

差分を表示:

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>

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