166 |
166 |
end
|
167 |
167 |
|
168 |
168 |
def git_field_tags(form, repository)
|
169 |
|
content_tag('p', form.text_field(:url, :label => 'Path to .git directory', :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?)))
|
|
169 |
content_tag('p', form.text_field(:url, :label => 'Path to .git directory', :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?))) +
|
|
170 |
content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
|
|
171 |
:label => 'Path encoding'))
|
170 |
172 |
end
|
171 |
173 |
|
172 |
174 |
def cvs_field_tags(form, repository)
|
... | ... | |
175 |
177 |
end
|
176 |
178 |
|
177 |
179 |
def bazaar_field_tags(form, repository)
|
178 |
|
content_tag('p', form.text_field(:url, :label => 'Root directory', :size => 60, :required => true, :disabled => (repository && !repository.new_record?)))
|
|
180 |
content_tag('p', form.text_field(:url, :label => 'Root directory', :size => 60, :required => true, :disabled => (repository && !repository.new_record?))) +
|
|
181 |
content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
|
|
182 |
:label => 'Path encoding'))
|
179 |
183 |
end
|
180 |
184 |
|
181 |
185 |
def filesystem_field_tags(form, repository)
|