scm: cvs: add path encoding select box at setting (#3462).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5465 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-04-15 07:18:10 +00:00
parent da2c511cd1
commit 37205a8991
1 changed files with 5 additions and 1 deletions

View File

@ -260,7 +260,11 @@ module RepositoriesHelper
:size => 30, :required => true,
:disabled => !repository.new_record?)) +
content_tag('p', form.select(:log_encoding, [nil] + Setting::ENCODINGS,
:label => 'Commit messages encoding', :required => true))
:label => 'Commit messages encoding', :required => true)) +
content_tag('p', form.select(
:path_encoding, [nil] + Setting::ENCODINGS,
:label => 'Path encoding') +
'<br />Default: UTF-8')
end
def bazaar_field_tags(form, repository)