mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
views cleaning
git-svn-id: http://redmine.rubyforge.org/svn/trunk@22 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -115,6 +115,12 @@ module ApplicationHelper
|
||||
options[:html].store :class, "tabular"
|
||||
form_for(name, object, options.merge({ :builder => TabularFormBuilder, :lang => current_language}), &proc)
|
||||
end
|
||||
|
||||
def check_all_links(form_name)
|
||||
link_to_function(l(:button_check_all), "checkAll('#{form_name}', true)") +
|
||||
" | " +
|
||||
link_to_function(l(:button_uncheck_all), "checkAll('#{form_name}', false)")
|
||||
end
|
||||
end
|
||||
|
||||
class TabularFormBuilder < ActionView::Helpers::FormBuilder
|
||||
|
||||
Reference in New Issue
Block a user