# HG changeset patch # User Chris Cannam # Date 1389023639 0 # Node ID 926dce5f57787263268cc5064faf6ce59a3df790 # Parent 46a444fa87bc184b2af8b2f71498711011a14cd3# Parent cf78a7ade302a8b7c5ae894f3d7d3fafdcd5ca9d Merge fix from luisf branch diff -r 46a444fa87bc -r 926dce5f5778 app/views/account/register.html.erb --- a/app/views/account/register.html.erb Mon Jan 06 15:54:12 2014 +0000 +++ b/app/views/account/register.html.erb Mon Jan 06 15:53:59 2014 +0000 @@ -22,20 +22,20 @@

<%= f.text_field :lastname, :required => true %>

<%= f.text_field :mail, :required => true %>

- - + <%= labelled_fields_for :ssamr_user_details, @ssamr_user_details do |fields| %>

<%=l(:label_ssamr_details)%>

- +

<%= fields.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> <%=l(:text_user_ssamr_description_info).html_safe%>

- <%= fields.radio_button :institution_type, true %> + <%= fields.radio_button :institution_type, true, :checked => true %> <%= fields.collection_select(:institution_id, Institution.find(:all, :order => "institutions.order"), :id, :name, {:selected => @selected_institution_id, :prompt => true}).gsub('&', '&').html_safe %>

@@ -44,7 +44,7 @@ <%= fields.text_field(:other_institution) %>

<% end %> - + <% if Setting.openid? %>

<%= f.text_field :identity_url %>