_edit.rhtml.patch

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

Download (1023 Bytes)

View differences:

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 %>