Disable_with on comment form
This commit is contained in:
parent
c7b8c185bd
commit
6841ffbecc
2 changed files with 2 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -186,6 +186,7 @@ en:
|
|||
comments:
|
||||
new_comment:
|
||||
comment: "Comment"
|
||||
commenting: "Commenting..."
|
||||
photos:
|
||||
show:
|
||||
delete_photo: "Delete Photo"
|
||||
|
|
|
|||
Loading…
Reference in a new issue