Commit d9e15cf4a8164124c117d8019fb679deeb9077a9
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
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 | 1321 | end |
1322 | 1322 | else |
1323 | 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 | 1327 | end |
1326 | 1328 | end |
1327 | 1329 | ... | ... |