summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-22 03:02:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-22 03:02:32 +0000
commit65bcca6bb2acd7c201493e3e31c96934434c6587 (patch)
tree8997ddc5628027c78ed6681f9812eb7501cbf7e4 /app/views
parent81a8e8b398b133fe7c5b7f67de6bca9f1223a2ed (diff)
downloadredmine-65bcca6bb2acd7c201493e3e31c96934434c6587.tar.gz
redmine-65bcca6bb2acd7c201493e3e31c96934434c6587.zip
code layout clean up app/views/issues/_edit.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@19143 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/_edit.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/issues/_edit.html.erb b/app/views/issues/_edit.html.erb
index 35527773d..cc2f110b7 100644
--- a/app/views/issues/_edit.html.erb
+++ b/app/views/issues/_edit.html.erb
@@ -73,8 +73,10 @@
<%= f.hidden_field :lock_version %>
<%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %>
<%= submit_tag l(:button_submit) %>
- <%= link_to l(:button_cancel), issue_path(id: @issue.id), :onclick => params[:action] == 'show' ? "$('#update').hide(); return false;" : '' %>
-
+ <%= link_to(
+ l(:button_cancel), issue_path(id: @issue.id),
+ :onclick => params[:action] == 'show' ? "$('#update').hide(); return false;" : ''
+ ) %>
<%= hidden_field_tag 'prev_issue_id', @prev_issue_id if @prev_issue_id %>
<%= hidden_field_tag 'next_issue_id', @next_issue_id if @next_issue_id %>
<%= hidden_field_tag 'issue_position', @issue_position if @issue_position %>