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 { input#subscribe {
margin-top: 5px; margin-top: 5px;
margin-right: 5px; margin-right: 5px;
}
} }
#myComment { #myComment {

View File

@ -1,7 +1,8 @@
#otherComments #otherComments
h5 =t('exercises.implement.comment.others') h5 =t('exercises.implement.comment.others')
.container .container
label
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) 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') = t('request_for_comments.subscribe_to_author')