Commit 9306ac0cb3347ac90b7c29f7893d2c1f65b3e6fc
1 parent
a65d1a58
Exists in
master
and in
29 other branches
Privacy checkbox for usp number cannot be edited
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
plugins/stoa/lib/stoa_plugin.rb
... | ... | @@ -33,8 +33,9 @@ class StoaPlugin < Noosfero::Plugin |
33 | 33 | |
34 | 34 | def profile_info_extra_contents |
35 | 35 | lambda { |
36 | - labelled_form_field(_('USP number'), text_field_tag('profile_data[usp_id]', '', :id => 'usp_id_field')) + | |
36 | + content_tag('div', labelled_form_field(_('USP number'), text_field_tag('profile_data[usp_id]', '', :id => 'usp_id_field')) + | |
37 | 37 | content_tag(:small, _('The usp id grants you special powers in the network. Don\'t forget to fill it if you have one.')) + |
38 | + content_tag('div', labelled_check_box(_('Public'), '', '', false, :disabled => true, :title => _('This field must be private'), :class => 'disabled'), :class => 'field-privacy-selector'), :class => 'field-with-privacy-selector') + | |
38 | 39 | content_tag('div', required(labelled_form_field(_('Birth date (yyyy-mm-dd)'), text_field_tag('birth_date', ''))), :id => 'signup-birth-date', :style => 'display: none') + |
39 | 40 | content_tag('div', required(labelled_form_field(_('CPF'), text_field_tag('cpf', ''))), :id => 'signup-cpf', :style => 'display:none') + |
40 | 41 | javascript_include_tag('../plugins/stoa/javascripts/jquery.observe_field', '../plugins/stoa/javascripts/signup_complement') | ... | ... |