]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.rhtml
Link SOTM ad to "landing" page.
[rails.git] / app / views / diary_entry / edit.rhtml
index 41b9c8b207e76d581e519384e5bb22314deed1dd..553367756b3611ca4aea0928c4407c3eb00ce72e 100644 (file)
@@ -14,7 +14,7 @@
     </tr>
     <tr valign="top">
       <td class="fieldName"><%= t 'diary_entry.edit.language' -%></td>
     </tr>
     <tr valign="top">
       <td class="fieldName"><%= t 'diary_entry.edit.language' -%></td>
-      <td><%= f.collection_select :language, Language.find(:all), :code, :name %></td>
+      <td><%= f.collection_select :language_code, Language.find(:all, :order => :english_name), :code, :name %></td>
     </tr>
     <tr valign="top">
       <td class="fieldName"><%= t 'diary_entry.edit.location' -%></td>
     </tr>
     <tr valign="top">
       <td class="fieldName"><%= t 'diary_entry.edit.location' -%></td>