diff --git a/app/assets/stylesheets/editor.css.scss b/app/assets/stylesheets/editor.css.scss index efcf1d25..661958b5 100644 --- a/app/assets/stylesheets/editor.css.scss +++ b/app/assets/stylesheets/editor.css.scss @@ -88,3 +88,9 @@ button i.fa-spin { color: #777; font-size: 0.8em; } + +#requestCommentsButton { + position: relative; + margin-top: -50px; + float: right; +} diff --git a/app/views/exercises/_editor_frame.html.slim b/app/views/exercises/_editor_frame.html.slim index dc077e02..29c78bd3 100644 --- a/app/views/exercises/_editor_frame.html.slim +++ b/app/views/exercises/_editor_frame.html.slim @@ -13,3 +13,7 @@ - else .editor-content.hidden data-file-id=file.ancestor_id = file.content .editor data-file-id=file.ancestor_id data-indent-size=file.file_type.indent_size data-mode=file.file_type.editor_mode data-read-only=file.read_only data-id=file.id + + button.btn class='btn-primary' id='requestCommentsButton' type='button' + i.fa.fa-comment-o + = t('exercises.editor.requestComments') \ No newline at end of file