remove useless cancel button
This commit is contained in:
parent
746e9c5cfc
commit
c98a728645
1 changed files with 1 additions and 2 deletions
|
|
@ -7,5 +7,4 @@
|
||||||
.control-group
|
.control-group
|
||||||
= hidden_field_tag :post_id, post_id, :id => "post_id_on_#{post_id}"
|
= 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
|
= 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"
|
= submit_tag t('.comment'), :id => "comment_submit_#{post_id}", :disable_with => t('.commenting'), :class => "btn primary"
|
||||||
= link_to t('cancel'), post_path(post_id), :class => "cancel_new_comment btn btn-toolbar"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue