Rename language_code to code - language_code is tautological when it's
in the language table anyway.
This commit is contained in:
parent
68eeaabb9d
commit
0e71278320
3 changed files with 12 additions and 13 deletions
|
@ -14,7 +14,7 @@
|
|||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="fieldName">Language:</td>
|
||||
<td><%= f.select :language, Language.find(:all).map {|l| [l.name, l.language_code]} %></td>
|
||||
<td><%= f.select :language, Language.find(:all).map {|l| [l.name, l.code]} %></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="fieldName">Location:</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue