diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b279d52..f3846d2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1316,7 +1316,9 @@ module ApplicationHelper end else options = options_for_select(templates.collect{ |template| [template.name, template.id]}) - content_tag('div', content_tag('label', _('Profile organization'), :class => 'formlabel') + (select_tag 'profile_data[template_id]', options, :onchange => 'show_fields_for_template(this);')) + content_tag('div', + content_tag('div', content_tag('label', _('Profile organization'), :class => 'formlabel') + (select_tag 'profile_data[template_id]', options, :onchange => 'show_fields_for_template(this);')), + :id => 'template-options') end end -- libgit2 0.21.2