Commit 9cafed2a authored by jplang's avatar jplang

Add class to contextual edit button that relates to heading on wiki pages ().

Patch by Felix Gliesche.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5f779809
......@@ -889,7 +889,7 @@ module ApplicationHelper
link_to('', options[:edit_section_links].merge(:section => @current_section),
:class => 'icon-only icon-edit'),
:class => 'contextual',
:class => "contextual heading-#{$2}",
:title => l(:button_edit_section),
:id => "section-#{@current_section}") + heading.html_safe
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment