From b858a1f1cab6fc9c8397d40368eaa38076a39199 Mon Sep 17 00:00:00 2001 From: Alex Dergachev Date: Wed, 9 Sep 2015 16:25:13 -0400 Subject: [PATCH] Fix typo that causes warning; closes #16 --- lib/redmine_git_remote/repositories_helper_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine_git_remote/repositories_helper_patch.rb b/lib/redmine_git_remote/repositories_helper_patch.rb index ecf504d..508ac53 100644 --- a/lib/redmine_git_remote/repositories_helper_patch.rb +++ b/lib/redmine_git_remote/repositories_helper_patch.rb @@ -7,7 +7,7 @@ module RedmineGitRemote module InstanceMethods def git_remote_field_tags(form, repository) content_tag('p', form.text_field(:url, - :size => 60, :required => true, :required => false, + :size => 60, :required => false, :disabled => !repository.safe_attribute?('url'), :label => l(:field_path_to_repository)) + content_tag('em', l(:text_git_remote_path_note), :class => 'info') +