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