scm: code clean up repositories_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4990 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c3e8fc5f1a
commit
bc09628249
|
@ -192,7 +192,8 @@ module RepositoriesHelper
|
||||||
:disabled => (repository && !repository.root_url.blank?)) +
|
:disabled => (repository && !repository.root_url.blank?)) +
|
||||||
'<br />(file:///, http://, https://, svn://, svn+[tunnelscheme]://)') +
|
'<br />(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(:password, :size => 30, :name => 'ignore',
|
content_tag('p', form.password_field(
|
||||||
|
:password, :size => 30, :name => 'ignore',
|
||||||
:value => ((repository.new_record? || repository.password.blank?) ? '' : ('x'*15)),
|
:value => ((repository.new_record? || repository.password.blank?) ? '' : ('x'*15)),
|
||||||
:onfocus => "this.value=''; this.name='repository[password]';",
|
:onfocus => "this.value=''; this.name='repository[password]';",
|
||||||
:onchange => "this.name='repository[password]';"))
|
:onchange => "this.name='repository[password]';"))
|
||||||
|
|
Loading…
Reference in New Issue