@@ -198,7 +198,7 module RepositoriesHelper | |||
|
198 | 198 | end |
|
199 | 199 | |
|
200 | 200 | def darcs_field_tags(form, repository) |
|
201 |
content_tag('p', form.text_field(:url, :label => ' |
|
|
201 | content_tag('p', form.text_field(:url, :label => 'Path to repository', | |
|
202 | 202 | :size => 60, :required => true, |
|
203 | 203 | :disabled => (repository && !repository.new_record?))) + |
|
204 | 204 | content_tag('p', form.select( |
@@ -21,7 +21,7 class Repository::Darcs < Repository | |||
|
21 | 21 | validates_presence_of :url, :log_encoding |
|
22 | 22 | |
|
23 | 23 | ATTRIBUTE_KEY_NAMES = { |
|
24 |
"url" => " |
|
|
24 | "url" => "Path to repository", | |
|
25 | 25 | } |
|
26 | 26 | def self.human_attribute_name(attribute_key_name) |
|
27 | 27 | ATTRIBUTE_KEY_NAMES[attribute_key_name] || super |
General Comments 0
You need to be logged in to leave comments.
Login now