comparison 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
comparison
equal deleted inserted replaced
176:ae833c41f474 177:dc01516c819d
39 <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 25, :required => true, :class => 'wiki-edit' %> 39 <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 25, :required => true, :class => 'wiki-edit' %>
40 </p> 40 </p>
41 41
42 42
43 <p><label for="institution"><%=l("field_ssamr_user_detail.institution")%> <span class="required">*</span></label> 43 <p><label for="institution"><%=l("field_ssamr_user_detail.institution")%> <span class="required">*</span></label>
44 <nobr>
44 <%= ssamr_user_detail.radio_button :institution_type, true %> 45 <%= ssamr_user_detail.radio_button :institution_type, true %>
45 <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:selected => @selected_institution_id, :prompt => true} ).gsub('&amp;', '&') %> 46 <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:selected => @selected_institution_id, :prompt => true} ).gsub('&amp;', '&') %>
46 </p> 47 </nobr>
47 48 </p>
48
49 49
50 <p> 50 <p>
51 <%= ssamr_user_detail.radio_button :institution_type, false %> Other: 51 <nobr>
52 <%= ssamr_user_detail.text_field :other_institution, :size => 19 %> 52 <%= ssamr_user_detail.radio_button :institution_type, false %> Other:
53 <%= ssamr_user_detail.text_field :other_institution, :size => 19 %>
54 </nobr>
53 </p> 55 </p>
54 <% end %> 56 <% end %>
55 </div> 57 </div>
56 58
57 59