Fix typo that causes warning; closes #16

This commit is contained in:
Alex Dergachev 2015-09-09 16:25:13 -04:00
parent 8516466c19
commit b858a1f1ca

View File

@ -7,7 +7,7 @@ module RedmineGitRemote
module InstanceMethods module InstanceMethods
def git_remote_field_tags(form, repository) def git_remote_field_tags(form, repository)
content_tag('p', form.text_field(:url, content_tag('p', form.text_field(:url,
:size => 60, :required => true, :required => false, :size => 60, :required => false,
:disabled => !repository.safe_attribute?('url'), :disabled => !repository.safe_attribute?('url'),
:label => l(:field_path_to_repository)) + :label => l(:field_path_to_repository)) +
content_tag('em', l(:text_git_remote_path_note), :class => 'info') + content_tag('em', l(:text_git_remote_path_note), :class => 'info') +