# HG changeset patch # User luisf # Date 1295877124 0 # Node ID 0f3210a90f46450a701f146f1e3ec7a961f1df82 # Parent e6ed6c7a2ce9882b8c4e2163baee0079247b9ca6 development commit: terms and conditions. diff -r e6ed6c7a2ce9 -r 0f3210a90f46 app/views/account/register.rhtml --- a/app/views/account/register.rhtml Thu Jan 20 14:06:23 2011 +0000 +++ b/app/views/account/register.rhtml Mon Jan 24 13:52:04 2011 +0000 @@ -41,13 +41,28 @@

- - <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:prompt => true}) %> + <%= radio_button_tag(:institution_type, "list", true) %> + <%= label_tag(:institution_type, "I am affiliated to this institution: ") %> + <%= ssamr_user_detail.collection_select(:institution_id, Institution.all, :id, :name, {:prompt => true}) %>

+ +

+ <%= radio_button_tag(:institution_type, "other", :onchange => "alert ('mau')") %> + <%= label_tag(:institution_type, "Other institution: ") %> + <%= ssamr_user_detail.text_field(:institution_id) %> +

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