From c98a7286457005eebd703d474af830a04c7953ee Mon Sep 17 00:00:00 2001 From: Diaspora Europe Date: Mon, 12 Mar 2012 08:32:22 +0100 Subject: [PATCH] remove useless cancel button --- app/views/comments/_new_comment.mobile.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/comments/_new_comment.mobile.haml b/app/views/comments/_new_comment.mobile.haml index f5578a13a..cf0f1d4a4 100644 --- a/app/views/comments/_new_comment.mobile.haml +++ b/app/views/comments/_new_comment.mobile.haml @@ -7,5 +7,4 @@ .control-group = hidden_field_tag :post_id, post_id, :id => "post_id_on_#{post_id}" = text_area_tag :text, nil, :class => "span12 comment_box", :id => "comment_text_on_#{post_id}", :placeholder => t('.comment'), :autofocus => true - = submit_tag t('.comment'), :id => "comment_submit_#{post_id}", :disable_with => t('.commenting'), :class => "btn primary btn-toolbar" - = link_to t('cancel'), post_path(post_id), :class => "cancel_new_comment btn btn-toolbar" + = submit_tag t('.comment'), :id => "comment_submit_#{post_id}", :disable_with => t('.commenting'), :class => "btn primary"