Rails3: helper: use html_safe for Subversion setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7552 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
19ac57e71a
commit
70a83bd47c
|
@ -188,7 +188,8 @@ module RepositoriesHelper
|
||||||
def subversion_field_tags(form, repository)
|
def subversion_field_tags(form, repository)
|
||||||
content_tag('p', form.text_field(:url, :size => 60, :required => true,
|
content_tag('p', form.text_field(:url, :size => 60, :required => true,
|
||||||
:disabled => (repository && !repository.root_url.blank?)) +
|
:disabled => (repository && !repository.root_url.blank?)) +
|
||||||
'<br />(file:///, http://, https://, svn://, svn+[tunnelscheme]://)') +
|
'<br />'.html_safe +
|
||||||
|
'(file:///, http://, https://, svn://, svn+[tunnelscheme]://)') +
|
||||||
content_tag('p', form.text_field(:login, :size => 30)) +
|
content_tag('p', form.text_field(:login, :size => 30)) +
|
||||||
content_tag('p', form.password_field(
|
content_tag('p', form.password_field(
|
||||||
:password, :size => 30, :name => 'ignore',
|
:password, :size => 30, :name => 'ignore',
|
||||||
|
|
Loading…
Reference in New Issue