Project

General

Profile

Patch #7058 » _edit.rhtml.patch

Manuel Vázquez Acosta, 2010-12-06 21:42

View differences:

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 %>
    (1-1/1)