diff --git a/lib/mpog_software_plugin.rb b/lib/mpog_software_plugin.rb index 80b3114..2b058a6 100644 --- a/lib/mpog_software_plugin.rb +++ b/lib/mpog_software_plugin.rb @@ -65,7 +65,7 @@ class MpogSoftwarePlugin < Noosfero::Plugin end end - def profile_editor_extras show_sisp_field + def profile_editor_extras show_sisp_field=true @show_sisp_field = show_sisp_field if context.profile.person? expanded_template('person_editor_extras.html.erb') diff --git a/views/institution_editor_extras.html.erb b/views/institution_editor_extras.html.erb index 0663856..c1f827c 100644 --- a/views/institution_editor_extras.html.erb +++ b/views/institution_editor_extras.html.erb @@ -36,7 +36,7 @@ -<% if @show_sisp_field[0] %> +<% if @show_sisp_field %>
<%= _("SISP?") %> -- libgit2 0.21.2