From 41f3d3aed1dd175cd1c255337d18f4393a948e18 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Tue, 15 Nov 2016 11:43:39 -0600 Subject: [PATCH] adjusting live coder labels --- app/views/admin/question/_live_code.html.erb | 6 +++--- app/views/quiz/_live_code.html.erb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/admin/question/_live_code.html.erb b/app/views/admin/question/_live_code.html.erb index 4efc955..e3cb6e6 100644 --- a/app/views/admin/question/_live_code.html.erb +++ b/app/views/admin/question/_live_code.html.erb @@ -6,17 +6,17 @@
- + <%= text_area_tag 'question[live_code][html]', question.input_options['html'], { data: {id: 'code-html', last: question.input_options['html']}, class: 'code-answer code-html' } %>
- + <%= text_area_tag 'question[live_code][css]', question.input_options['css'], { data: {id: 'code-css', last: question.input_options['css']}, class: 'code-answer code-css' } %>
- + <%= text_area_tag 'question[live_code][js]', question.input_options['js'], { data: {id: 'code-js', last: question.input_options['js']}, class: 'code-answer code-js' } %>
diff --git a/app/views/quiz/_live_code.html.erb b/app/views/quiz/_live_code.html.erb index 98f8477..91814dd 100644 --- a/app/views/quiz/_live_code.html.erb +++ b/app/views/quiz/_live_code.html.erb @@ -50,17 +50,17 @@ <%= text_area_tag 'answer[answer_hash][text]', value_text, { disabled: true, data: {last: answers['text']}} %>
- + <%= text_area_tag 'answer[answer_hash][html]', value_html, { disabled: true, data: {id: 'code-html', last: answers['html']}, class: 'code-answer code-html' } %>
- + <%= text_area_tag 'answer[answer_hash][css]', value_css, { disabled: true, data: {id: 'code-css', last: answers['css']}, class: 'code-answer code-css' } %>
- + <%= text_area_tag 'answer[answer_hash][js]', value_js, { disabled: true, data: {id: 'code-js', last: answers['js']}, class: 'code-answer code-js' } %>