Disable_with on comment form

This commit is contained in:
Raphael 2010-11-18 15:41:24 -08:00
parent c7b8c185bd
commit 6841ffbecc
2 changed files with 2 additions and 1 deletions

View file

@ -10,4 +10,4 @@
= comment.hidden_field :post_id, :id => "post_id_on_#{post.id}", :value => post.id
%p{:style => "text-align:right;"}
= comment.submit t('.comment'), :id => "comment_submit_#{post.id}", :class => "comment_submit button"
= comment.submit t('.comment'), :id => "comment_submit_#{post.id}", :class => "comment_submit button", :disable_with => t('.commenting')

View file

@ -186,6 +186,7 @@ en:
comments:
new_comment:
comment: "Comment"
commenting: "Commenting..."
photos:
show:
delete_photo: "Delete Photo"