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