Patch #7058 » _edit.rhtml.patch
| app/views/issues/_edit.rhtml | ||
|---|---|---|
| 6 | 6 |
:multipart => true} do |f| %> |
| 7 | 7 |
<%= error_messages_for 'issue', 'time_entry' %> |
| 8 | 8 |
<div class="box"> |
| 9 |
<%= submit_tag l(:button_submit) %> |
|
| 10 |
<%= link_to_remote l(:label_preview), |
|
| 11 |
{ :url => preview_issue_path(:project_id => @project, :id => @issue),
|
|
| 12 |
:method => 'post', |
|
| 13 |
:update => 'preview', |
|
| 14 |
:with => 'Form.serialize("issue-form")',
|
|
| 15 |
:complete => "Element.scrollTo('preview')"
|
|
| 16 |
}, :accesskey => accesskey(:preview) %> |
|
| 17 | ||
| 9 | 18 |
<% if @edit_allowed || !@allowed_statuses.empty? %> |
| 10 | 19 |
<fieldset class="tabular"><legend><%= l(:label_change_properties) %> |
| 11 | 20 |
<% if !@issue.new_record? && !@issue.errors.any? && @edit_allowed %> |