Skip to content

Commit

Permalink
Fix comment cancel link
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Tillman committed Dec 10, 2011
1 parent d30656a commit 3a15d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/comments/_new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
%div{:style => "padding:6px 0px 0px 40px;"}
= f.submit t(:add_note), :id => "#{id_prefix}_comment_submit"
#{t :or}
= link_to(t(:cancel), new_comment_path("#{class_name}_id" => commentable) + '?cancel=true', :remote => true)
= link_to(t(:cancel), new_comment_path("#{class_name}_id" => commentable) + '&cancel=true', :remote => true)
%div{ {:id => "#{id_prefix}_ask"}.merge(hidden_if(false))}
= text_field_tag :post_new_note, t(:add_note_help), :onclick => remote_function(:url => new_comment_path("#{class_name}_id" => commentable), :method => :get), :id => "#{id_prefix}_post_new_note"

0 comments on commit 3a15d35

Please sign in to comment.