Patch #21593 ยป 0001-Add-class-to-contextual-edit-button-that-relates-to-.patch
| app/helpers/application_helper.rb | ||
|---|---|---|
| 888 | 888 |
if @current_section > 1 |
| 889 | 889 |
content_tag('div',
|
| 890 | 890 |
link_to(image_tag('edit.png'), options[:edit_section_links].merge(:section => @current_section)),
|
| 891 |
:class => 'contextual',
|
|
| 891 |
:class => "contextual heading-#{$2}",
|
|
| 892 | 892 |
:title => l(:button_edit_section), |
| 893 | 893 |
:id => "section-#{@current_section}") + heading.html_safe
|
| 894 | 894 |
else |