Project

General

Profile

Patch #228 » repository_helper.diff

Aruo Miura, 2008-02-03 11:01

View differences:

repositories_helper.rb (working copy)
43 43
      content_tag('p', form.password_field(:password, :size => 30))
44 44
  end
45 45

  
46
  def visual_source_safe_field_tags(form, repository)
47
      content_tag('p', form.text_field(:url, :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?)) +
48
                       '<br />(*/srcsafe.ini)') +
49
      content_tag('p', form.text_field(:login, :size => 30)) +
50
      content_tag('p', form.password_field(:password, :size => 30))
51
      #content_tag('p', select_tag('vss_lang', "<option>en</option><option>ja</option>"))
52
  end
53

  
46 54
  def darcs_field_tags(form, repository)
47 55
      content_tag('p', form.text_field(:url, :label => 'Root directory', :size => 60, :required => true, :disabled => (repository && !repository.new_record?)))
48 56
  end
(7-7/8)