Move subscribe box out of other comments container

This commit is contained in:
Maximilian Grundke
2017-09-20 17:27:47 +02:00
parent c323205036
commit df5e8133d2
2 changed files with 8 additions and 7 deletions

View File

@ -127,11 +127,11 @@
}
}
}
}
input#subscribe {
margin-top: 5px;
margin-right: 5px;
}
input#subscribe {
margin-top: 5px;
margin-right: 5px;
}
#myComment {

View File

@ -1,9 +1,10 @@
#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')
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')
#myComment
h5 =t('exercises.implement.comment.addyours')