scm: filesystem: add path encoding select item (#2274).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4943 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-24 05:59:42 +00:00
parent 61667a2171
commit 3a20d13262
1 changed files with 2 additions and 0 deletions

View File

@ -222,5 +222,7 @@ module RepositoriesHelper
content_tag('p', form.text_field(:url, :label => 'Root directory',
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)))
content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
:label => 'Path encoding'))
end
end