changeset 105:975e65e075d1 luisf

Working, but needs one migration which was not pushed from my c4dm desktop computer.
author luisf
date Thu, 16 Dec 2010 20:32:17 +0000
parents 0511601cda6b
children f6ea6ffaaeeb
files app/views/account/register.rhtml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/account/register.rhtml	Thu Dec 16 18:16:47 2010 +0000
+++ b/app/views/account/register.rhtml	Thu Dec 16 20:32:17 2010 +0000
@@ -42,7 +42,7 @@
 
                         <p>
                           <label for="ssamr_user_institution"><%=l(:label_ssamr_institution)%></label>
-                            <%= collection_select(:ssamr_user_detail, :institution_id, Institution.all, :id, :name, {:prompt => true}) %>
+                            <%= ssamr_user_detail.collection_select(:university, Institution.all, :id, :name, {:prompt => true}) %>
                         </p>
                 <% end %>