partial_edit_with_label_advanced.diff

view change - Otávio Sampaio, 2008-06-17 22:49

Download (844 Bytes)

View differences:

issues/_edit.rhtml (working copy)
8 8
    <% if @edit_allowed || !@allowed_statuses.empty? %>
9 9
        <fieldset class="tabular"><legend><%= l(:label_change_properties) %>
10 10
        <% if !@issue.new_record? && !@issue.errors.any? && @edit_allowed %>
11
        <small>(<%= link_to l(:label_more), {}, :onclick => 'Effect.toggle("issue_descr_fields", "appear", {duration:0.3}); return false;' %>)</small>
11
        <small>(<%= link_to l(:label_advanced), {}, :onclick => 'Effect.toggle("issue_descr_fields", "appear", {duration:0.3}); return false;' %>)</small>
12 12
        <% end %>
13 13
        </legend>
14 14
        <%= render :partial => (@edit_allowed ? 'form' : 'form_update'), :locals => {:f => f} %>