<%= f.error_messages %>
<table>
<tr>
- <th>コード(CODE)</th>
+ <th><%= f.label :code, 'コード(CODE)' %></th>
<td><%= f.select :code, Song::CODES, :include_blank => true %></td>
</tr>
<tr>
- <th>題名(TITLE)</th>
+ <th><%= f.label :title, '題名(TITLE)' %></th>
<td><%= f.text_field :title %></td>
</tr>
<tr>
- <th>歌詞(WORDS)</th>
+ <th><%= f.label :words, '歌詞(WORDS)' %></th>
<td><%= f.text_area :words, :size => "40x8" %></td>
</tr>
<tr>
- <th>出典(SOURCE)</th>
+ <th><%= f.label :copyrigyt, '出典(SOURCE)' %></th>
<td><%= f.text_field :copyright %></td>
</tr>
<tr>
- <th>表示サイズ(FONT SIZE)</th>
- <td><%= f.select :font_size, Song.font_size_options %></td>
+ <th><%= f.label :font_size, '表示サイズ(FONT SIZE)' %></th>
+ <td><%= f.select :font_size %></td>
</tr>
<tr>
<td colspan="2"><%= f.submit "保存する(SAVE)" %></td>