summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-02-05 23:51:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-02-05 23:51:26 +0000
commit2ef86a2f0adccf5d5d5a56fb42d087a684b11847 (patch)
treef704992d0eecb520028b60787048d726851ca14d /app/views/repositories
parentd360ca4e145d2f16dd8bb61edf6973d32bb32226 (diff)
downloadredmine-2ef86a2f0adccf5d5d5a56fb42d087a684b11847.tar.gz
redmine-2ef86a2f0adccf5d5d5a56fb42d087a684b11847.zip
code layout cleanup app/views/repositories/_related_issues.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8794 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/_related_issues.html.erb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/repositories/_related_issues.html.erb b/app/views/repositories/_related_issues.html.erb
index d65d07945..40178d77f 100644
--- a/app/views/repositories/_related_issues.html.erb
+++ b/app/views/repositories/_related_issues.html.erb
@@ -12,7 +12,9 @@
<% @changeset.issues.visible.each do |issue| %>
<li id="<%= "related-issue-#{issue.id}" %>"><%= link_to_issue issue %>
<%= link_to_remote(image_tag('link_break.png'),
- {:url => {:controller => 'repositories', :action => 'remove_related_issue', :id => @project, :repository_id => @repository.identifier_param, :rev => @changeset.identifier, :issue_id => issue},
+ {:url => {:controller => 'repositories', :action => 'remove_related_issue',
+ :id => @project, :repository_id => @repository.identifier_param,
+ :rev => @changeset.identifier, :issue_id => issue},
:method => :delete,
}, :title => l(:label_relation_delete)) if manage_allowed %>
@@ -22,7 +24,9 @@
<% if manage_allowed %>
<% remote_form_for(:issue, @issue,
- :url => {:controller => 'repositories', :action => 'add_related_issue', :id => @project, :repository_id => @repository.identifier_param, :rev => @changeset.identifier},
+ :url => {:controller => 'repositories', :action => 'add_related_issue',
+ :id => @project, :repository_id => @repository.identifier_param,
+ :rev => @changeset.identifier},
:method => :post,
:complete => "Form.Element.focus('issue_id');",
:html => {:id => 'new-relation-form', :style => (@issue ? '' : 'display: none;')}) do |f| %>