Move subscribe box out of other comments container
This commit is contained in:
@ -127,12 +127,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input#subscribe {
|
||||
margin-top: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
#myComment {
|
||||
margin-top: 20px;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#otherComments
|
||||
h5 =t('exercises.implement.comment.others')
|
||||
.container
|
||||
|
||||
label
|
||||
input#subscribe type='checkbox' title=t('request_for_comments.subscribe_to_author') data-subscription=Subscription.where(user: current_user, request_for_comment_id: @request_for_comment.id, subscription_type: 'author', deleted: false).try(:first).try(:id)
|
||||
= t('request_for_comments.subscribe_to_author')
|
||||
|
Reference in New Issue
Block a user