diff --git a/controllers/gov_user_plugin_controller.rb b/controllers/gov_user_plugin_controller.rb index dd47862..b177c9d 100644 --- a/controllers/gov_user_plugin_controller.rb +++ b/controllers/gov_user_plugin_controller.rb @@ -203,7 +203,7 @@ class GovUserPluginController < ApplicationController redirect_to :controller => "/admin_panel", :action => "index" else flash[:errors] = response_message[:errors] - redirect_to :controller => "software_communities_plugin", :action => "create_institution_admin" + render :controller => "gov_user_plugin", :action => "create_institution_admin" end end diff --git a/views/gov_user_plugin/_institution.html.erb b/views/gov_user_plugin/_institution.html.erb index e5ed297..1ea58a2 100644 --- a/views/gov_user_plugin/_institution.html.erb +++ b/views/gov_user_plugin/_institution.html.erb @@ -102,10 +102,10 @@
<%= _("SISP?") %> <% if @show_sisp_field %> - <%= inst.label("sisp" ,_("Yes")) %> <%= inst.radio_button(:sisp, true) %> - <%= inst.label("sisp" ,_("No")) %> + <%= inst.label :sisp ,_("Yes"), :value => true %> <%= inst.radio_button(:sisp, false, :checked=>"checked") %> + <%= inst.label :sisp ,_("No"), :value => false %> <% else %> <%= inst.label("sisp", _("No")) %> <% end %> -- libgit2 0.21.2