mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-04 14:49:41 +00:00
Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13699 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0ab49d9c7c
commit
ca4ed6df86
@ -387,15 +387,6 @@ module ApplicationHelper
|
||||
s.html_safe
|
||||
end
|
||||
|
||||
# Options for the new membership projects combo-box
|
||||
def options_for_membership_project_select(principal, projects)
|
||||
options = content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---")
|
||||
options << project_tree_options_for_select(projects) do |p|
|
||||
{:disabled => principal.projects.to_a.include?(p)}
|
||||
end
|
||||
options
|
||||
end
|
||||
|
||||
def option_tag(name, text, value, selected=nil, options={})
|
||||
content_tag 'option', value, options.merge(:value => value, :selected => (value == selected))
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user