# HG changeset patch # User luisf # Date 1296664150 0 # Node ID dc01516c819d551ae528ed19a9556a7b49cf22b5 # Parent ae833c41f47442eae0729e739bbbdfd36da03871 added nobr tags to the institution fields in order to prevent line breaks. diff -r ae833c41f474 -r dc01516c819d app/views/account/register.rhtml --- a/app/views/account/register.rhtml Wed Feb 02 13:50:19 2011 +0000 +++ b/app/views/account/register.rhtml Wed Feb 02 16:29:10 2011 +0000 @@ -42,9 +42,9 @@

- <%= ssamr_user_detail.radio_button :institution_type, true %> - <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:prompt => true}).gsub('&', '&') %> -

+ <%= ssamr_user_detail.radio_button :institution_type, true %> + <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:prompt => true}).gsub('&', '&') %> +

<%= ssamr_user_detail.radio_button :institution_type, false %> Other: diff -r ae833c41f474 -r dc01516c819d app/views/my/account.rhtml --- a/app/views/my/account.rhtml Wed Feb 02 13:50:19 2011 +0000 +++ b/app/views/my/account.rhtml Wed Feb 02 16:29:10 2011 +0000 @@ -41,15 +41,17 @@

+ <%= ssamr_user_detail.radio_button :institution_type, true %> <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:selected => @selected_institution_id, :prompt => true} ).gsub('&', '&') %> -

- - + +

- <%= ssamr_user_detail.radio_button :institution_type, false %> Other: - <%= ssamr_user_detail.text_field :other_institution, :size => 19 %> + + <%= ssamr_user_detail.radio_button :institution_type, false %> Other: + <%= ssamr_user_detail.text_field :other_institution, :size => 19 %> +

<% end %> diff -r ae833c41f474 -r dc01516c819d app/views/users/_form.rhtml --- a/app/views/users/_form.rhtml Wed Feb 02 13:50:19 2011 +0000 +++ b/app/views/users/_form.rhtml Wed Feb 02 16:29:10 2011 +0000 @@ -31,15 +31,19 @@

+ <%= ssamr_user_detail.radio_button :institution_type, true %> <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:selected => @selected_institution_id, :prompt => true} ).gsub('&', '&') %> -

+ +

+ <%= ssamr_user_detail.radio_button :institution_type, false %> Other: <%= ssamr_user_detail.text_field :other_institution %> +

<% end %>