Mercurial > hg > soundsoftware-site
changeset 1461:926dce5f5778 live
Merge fix from luisf branch
author | Chris Cannam |
---|---|
date | Mon, 06 Jan 2014 15:53:59 +0000 |
parents | 46a444fa87bc (current diff) cf78a7ade302 (diff) |
children | 274b89aabe38 |
files | |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ <p><%= f.text_field :lastname, :required => true %></p> <p><%= f.text_field :mail, :required => true %></p> -<!-- We only support English in this site +<!-- We only support English in this site <p><%= f.select :language, lang_options_for_select %></p> --> - + <%= labelled_fields_for :ssamr_user_details, @ssamr_user_details do |fields| %> <h3><%=l(:label_ssamr_details)%></h3> - + <p> <%= fields.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> <em> <%=l(:text_user_ssamr_description_info).html_safe%></em> </p> <p><label for="institution"><%=l("field_ssamr_user_detail.institution")%> <span class="required">*</span></label> - <%= 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 %> </p> @@ -44,7 +44,7 @@ <%= fields.text_field(:other_institution) %> </p> <% end %> - + <% if Setting.openid? %> <p><%= f.text_field :identity_url %></p>