@@ -219,10 +219,14 module RepositoriesHelper | |||
|
219 | 219 | end |
|
220 | 220 | |
|
221 | 221 | def git_field_tags(form, repository) |
|
222 |
|
|
|
222 | content_tag('p', form.text_field(:url, :label => 'Path to repository', | |
|
223 | 223 | :size => 60, :required => true, |
|
224 | 224 | :disabled => (repository && !repository.root_url.blank?)) + |
|
225 | '<br />a bare and local repository (e.g. /gitrepo, c:\gitrepo)') | |
|
225 | '<br />a bare and local repository (e.g. /gitrepo, c:\gitrepo)') + | |
|
226 | content_tag('p', form.select( | |
|
227 | :path_encoding, [nil] + Setting::ENCODINGS, | |
|
228 | :label => 'Path encoding') + | |
|
229 | '<br />Default: UTF-8') | |
|
226 | 230 | end |
|
227 | 231 | |
|
228 | 232 | def cvs_field_tags(form, repository) |
General Comments 0
You need to be logged in to leave comments.
Login now