diff --git a/app/assets/stylesheets/molecules/_admin_review.scss b/app/assets/stylesheets/molecules/_admin_review.scss new file mode 100644 index 0000000..586367d --- /dev/null +++ b/app/assets/stylesheets/molecules/_admin_review.scss @@ -0,0 +1,31 @@ +.admin-review { + counter-reset: question; + + form { + margin-left: 2.3em; + position: relative; + + &::before { + content: counter(question) ") "; + counter-increment: question; + font-size: 1.25em; + left: -1.8em; + position: absolute; + top: 0.4em; + } + } + +} + +.review_meta { + + @media screen and (min-width: 768px) { + display: flex; + & > div { flex: 1 1 auto; } + } + + .review_meta__votes, + .review_meta__vetos { + a { padding: 5px; } + } +} diff --git a/app/assets/stylesheets/molecules/_review_meta.scss b/app/assets/stylesheets/molecules/_review_meta.scss deleted file mode 100644 index 31b60ee..0000000 --- a/app/assets/stylesheets/molecules/_review_meta.scss +++ /dev/null @@ -1,12 +0,0 @@ -.review_meta { - - @media screen and (min-width: 768px) { - display: flex; - & > div { flex: 1 1 auto; } - } - - .review_meta__votes, - .review_meta__vetos { - a { padding: 5px; } - } -} diff --git a/app/views/admin/result/view.html.erb b/app/views/admin/result/view.html.erb index 1ad7f5a..61863fa 100644 --- a/app/views/admin/result/view.html.erb +++ b/app/views/admin/result/view.html.erb @@ -2,7 +2,7 @@ content_for :title, "Quiz Review - Skills Assessment Admin" %> -
+

Quiz Review

@@ -12,8 +12,8 @@ Recruiter Email: <%= mail_to @candidate.recruiter.name, @candidate.recruiter.email %>
-
<%= render partial: 'voting' %>
- +
<%= render partial: 'voting' %>
+ <% @quiz.each do |question| %> <%= form_for(:answer, url: '#never-post', html:{id: 'summary-form'}) do |form| %>