@@ -238,22 +238,22 module RepositoriesHelper | |||||
238 | def cvs_field_tags(form, repository) |
|
238 | def cvs_field_tags(form, repository) | |
239 | content_tag('p', form.text_field( |
|
239 | content_tag('p', form.text_field( | |
240 | :root_url, |
|
240 | :root_url, | |
241 |
:label => l( |
|
241 | :label => l(:field_cvsroot), | |
242 | :size => 60, :required => true, |
|
242 | :size => 60, :required => true, | |
243 | :disabled => !repository.new_record?)) + |
|
243 | :disabled => !repository.new_record?)) + | |
244 | content_tag('p', form.text_field( |
|
244 | content_tag('p', form.text_field( | |
245 | :url, |
|
245 | :url, | |
246 |
:label => l( |
|
246 | :label => l(:field_cvs_module), | |
247 | :size => 30, :required => true, |
|
247 | :size => 30, :required => true, | |
248 | :disabled => !repository.new_record?)) + |
|
248 | :disabled => !repository.new_record?)) + | |
249 | content_tag('p', form.select( |
|
249 | content_tag('p', form.select( | |
250 | :log_encoding, [nil] + Setting::ENCODINGS, |
|
250 | :log_encoding, [nil] + Setting::ENCODINGS, | |
251 |
:label => l( |
|
251 | :label => l(:field_commit_logs_encoding), :required => true)) + | |
252 | content_tag('p', form.select( |
|
252 | content_tag('p', form.select( | |
253 | :path_encoding, [nil] + Setting::ENCODINGS, |
|
253 | :path_encoding, [nil] + Setting::ENCODINGS, | |
254 |
:label => l( |
|
254 | :label => l(:field_scm_path_encoding) | |
255 | ) + |
|
255 | ) + | |
256 |
'<br />' + l( |
|
256 | '<br />' + l(:text_scm_path_encoding_note)) | |
257 | end |
|
257 | end | |
258 |
|
258 | |||
259 | def bazaar_field_tags(form, repository) |
|
259 | def bazaar_field_tags(form, repository) |
General Comments 0
You need to be logged in to leave comments.
Login now