diff app/views/my/account.rhtml @ 177:dc01516c819d feature_55

added nobr tags to the institution fields in order to prevent line breaks.
author luisf
date Wed, 02 Feb 2011 16:29:10 +0000
parents ae833c41f474
children 0d3dd7562e6a
line wrap: on
line diff
--- 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 @@
 
 
             <p><label for="institution"><%=l("field_ssamr_user_detail.institution")%> <span class="required">*</span></label>
+			<nobr>
               <%= 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('&amp;', '&') %>
-            </p>
-
-
+            </nobr>
+			</p>
 
             <p>
-               <%= ssamr_user_detail.radio_button :institution_type, false %> Other:
-               <%= ssamr_user_detail.text_field :other_institution, :size => 19 %>
+				<nobr>
+               		<%= ssamr_user_detail.radio_button :institution_type, false %> Other:
+               		<%= ssamr_user_detail.text_field :other_institution, :size => 19 %>
+            	</nobr>
             </p>
     <% end %>
 </div>