]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_comments.html.erb
Remove column sorting
[rails.git] / app / views / issues / _comments.html.erb
index a12e4623778af1f88a244eee679c476483f4d056..8931be8b9d9cfe372b3416b00631726beeae67aa 100644 (file)
@@ -6,11 +6,6 @@
       </div>
       <b> <%= link_to comment.user.display_name, :controller => :user, :action =>:view, :display_name => comment.user.display_name %> </b> <br/>
       <%= comment.body %>
-
-      <% if comment.reassign %>
-      <br/>
-      <i><%= t('issues.show.comments.reassign') %></i>
-      <% end %>
     </div>
     <span class="deemphasize">
       On <%= l comment.created_at.to_datetime, :format => :friendly %>
@@ -20,7 +15,7 @@
 </div>
 <br/>
 <div class="comment">
-  <%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id } do |f| %>
+  <%= form_for @new_comment, url: issue_comments_path(@issue) do |f| %>
   <%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8, :required => true %>
   <%= label_tag t('issues.show.comments.reassign_param') %> <%= check_box_tag :reassign, true %>
   <br/>