From: Toshi MARUYAMA Date: Thu, 24 Feb 2011 07:00:41 +0000 (+0000) Subject: scm: filesystem: fix mistake of respository select box on r4943 (#2274). X-Git-Tag: 1.2.0~879 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8bdf73882e6ad2cbcec9f70a352acfecaa059186;p=redmine.git scm: filesystem: fix mistake of respository select box on r4943 (#2274). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4944 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index d314c90c9..074dfa41a 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -221,7 +221,7 @@ module RepositoriesHelper def filesystem_field_tags(form, repository) content_tag('p', form.text_field(:url, :label => 'Root directory', :size => 60, :required => true, - :disabled => (repository && !repository.root_url.blank?))) + :disabled => (repository && !repository.root_url.blank?))) + content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS, :label => 'Path encoding')) end