Commit d9e15cf4a8164124c117d8019fb679deeb9077a9

Authored by Victor Costa
2 parents 3610cce4 bb996411

Merge branch 'rails3-custom_fields' into stable

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
app/helpers/application_helper.rb
@@ -1321,7 +1321,9 @@ module ApplicationHelper @@ -1321,7 +1321,9 @@ module ApplicationHelper
1321 end 1321 end
1322 else 1322 else
1323 options = options_for_select(templates.collect{ |template| [template.name, template.id]}) 1323 options = options_for_select(templates.collect{ |template| [template.name, template.id]})
1324 - content_tag('div', content_tag('label', _('Profile organization'), :class => 'formlabel') + (select_tag 'profile_data[template_id]', options, :onchange => 'show_fields_for_template(this);')) 1324 + content_tag('div',
  1325 + content_tag('div', content_tag('label', _('Profile organization'), :class => 'formlabel') + (select_tag 'profile_data[template_id]', options, :onchange => 'show_fields_for_template(this);')),
  1326 + :id => 'template-options')
1325 end 1327 end
1326 end 1328 end
1327 1329