diff --git a/app/helpers/form_answer_helper.rb b/app/helpers/form_answer_helper.rb index c5195cccf6..7bbfe8b12f 100644 --- a/app/helpers/form_answer_helper.rb +++ b/app/helpers/form_answer_helper.rb @@ -37,7 +37,8 @@ def application_flags(fa, subject = nil) if comments_count > 0 content_tag :span, class: "icon-flagged #{flag_type}" do - content_tag :span, class: "flag-count" do + "#{current_user_class} flags: ".html_safe + + content_tag(:span, class: "flag-count") do comments_count.to_s end end diff --git a/app/views/admin/form_answer_attachments/_form.html.slim b/app/views/admin/form_answer_attachments/_form.html.slim index 64113045fe..04b8c19082 100644 --- a/app/views/admin/form_answer_attachments/_form.html.slim +++ b/app/views/admin/form_answer_attachments/_form.html.slim @@ -14,6 +14,7 @@ span[aria-hidden="true"] × .attachment-link.if-js-hide + = form.label :file, "Attach document", class: "visuallyhidden" = form.file_field :file .form-group diff --git a/app/views/admin/form_answers/_comment.html.slim b/app/views/admin/form_answers/_comment.html.slim index 8e65a832ca..200a00f406 100644 --- a/app/views/admin/form_answers/_comment.html.slim +++ b/app/views/admin/form_answers/_comment.html.slim @@ -37,7 +37,7 @@ authenticity_token: true) do |f| label.if-js-hide Flag - = f.check_box :flagged, class: "flag-comment-checkbox if-js-hide" + = f.check_box :flagged, class: "flag-comment-checkbox if-js-hide", id: "flag-comment-#{comment.id}" .comment-action = l comment.created_at, format: :date_at_time span.divider • diff --git a/app/views/admin/form_answers/_previous_applications_section.html.slim b/app/views/admin/form_answers/_previous_applications_section.html.slim index 997af30f89..172ab2fc22 100644 --- a/app/views/admin/form_answers/_previous_applications_section.html.slim +++ b/app/views/admin/form_answers/_previous_applications_section.html.slim @@ -10,4 +10,5 @@ - else = application.award_type_and_year - else - ' None + li + ' None diff --git a/app/views/judge/case_summaries/index.html.slim b/app/views/judge/case_summaries/index.html.slim index 35553156c3..c0247edc89 100644 --- a/app/views/judge/case_summaries/index.html.slim +++ b/app/views/judge/case_summaries/index.html.slim @@ -5,7 +5,7 @@ .downloads-page .downloads-page__section - h3 + h2 ' Case Summaries ul.download-list - FormAnswer::AWARD_TYPE_FULL_NAMES.select { |key, value| current_judge.assigned_award_types.include?(key) }.each do |key, value|