Commit 1a497078684d416ca02e1a7a8f09c944da9ea7d2

Authored by Rodrigo Souto
1 parent 584a75f8

[stoa] Removing required from usp_id and fixing typo

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
plugins/stoa/lib/stoa_plugin.rb
... ... @@ -19,8 +19,8 @@ class StoaPlugin < Noosfero::Plugin
19 19  
20 20 def signup_extra_contents
21 21 lambda {
22   - required(labelled_form_field(_('USP number'), text_field_tag('profile_data[usp_id]', '', :id => 'usp_id_field'))) +
23   - content_tag(:small, _('The usp id grants you special powers in the network. Don\'t forget to fill it in if you have one.'), :id => 'usp-id-balloon') +
  22 + labelled_form_field(_('USP number'), text_field_tag('profile_data[usp_id]', '', :id => 'usp_id_field')) +
  23 + content_tag(:small, _('The usp id grants you special powers in the network. Don\'t forget to fill it if you have one.'), :id => 'usp-id-balloon') +
24 24 content_tag('div', required(labelled_form_field(_('Birth date (yyyy-mm-dd)'), text_field_tag('birth_date', ''))), :id => 'signup-birth-date', :style => 'display: none') +
25 25 content_tag('div', required(labelled_form_field(_('CPF'), text_field_tag('cpf', ''))), :id => 'signup-cpf', :style => 'display:none') +
26 26 javascript_include_tag('../plugins/stoa/javascripts/jquery.observe_field', '../plugins/stoa/javascripts/signup_complement')
... ...