Insert update form dependant to chronological order
Added by jch jch over 14 years ago
Hello,
My preferences are for the display comment: "in reverse chronological order".
When I have a ticket and I would like update this ticket, I need the "update" form between the subject and the history in order to have the last message far from the update form.
If i am not clear I can explain twice.
For now I can show the update form in the correct position by changing the position of the block but it doesn't depend on the display comment.
show.rhtml
<% if authorize_for('issues', 'edit') %> <div id="update" style="display:none;"> <h3><%= l(:button_update) %></h3> <%= render :partial => 'edit' %> </div> <% end %>
Thanks for you support.