Add Anmerkungen field
Some checks failed
/ Run tests (push) Failing after 15s
/ Run system tests (push) Failing after 14s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-27 18:25:25 +01:00
parent fc71cd4a09
commit 22c6594af1
5 changed files with 8 additions and 0 deletions

View file

@ -113,6 +113,8 @@ class ChecksController < ApplicationController
:criterion_details_en, :criterion_details_en,
:example_de, :example_de,
:example_en, :example_en,
:annotation_de,
:annotation_en,
:exemption_details_de, :exemption_details_de,
:exemption_details_en, :exemption_details_en,
:standard_text_de, :standard_text_de,

View file

@ -11,6 +11,7 @@ class Check < ApplicationRecord
enum :conformity_level, %i[A AA AAA] enum :conformity_level, %i[A AA AAA]
enum :priority, %i[highest high normal low] enum :priority, %i[highest high normal low]
has_rich_text :annotation_de
has_rich_text :conformity_notice_de has_rich_text :conformity_notice_de
has_rich_text :conformity_notice_en has_rich_text :conformity_notice_en
has_rich_text :quick_criterion_de has_rich_text :quick_criterion_de

View file

@ -58,6 +58,9 @@ div id=dom_id(check)
tr tr
th = Check.human_attribute_name(:example_de) th = Check.human_attribute_name(:example_de)
td = check.example_de td = check.example_de
tr
th = Check.human_attribute_name(:annotation_de)
td = check.annotation_de
tr tr
th = Check.human_attribute_name(:test_instructions) th = Check.human_attribute_name(:test_instructions)
td = check.test_instructions td = check.test_instructions

View file

@ -35,6 +35,7 @@
= multilang_form_field(form, :exemption_details, as: :rich_text_area) = multilang_form_field(form, :exemption_details, as: :rich_text_area)
= multilang_form_field(form, :criterion_details, as: :rich_text_area) = multilang_form_field(form, :criterion_details, as: :rich_text_area)
= multilang_form_field(form, :example, as: :rich_text_area) = multilang_form_field(form, :example, as: :rich_text_area)
= multilang_form_field(form, :annotation, as: :rich_text_area)
h2 Intern h2 Intern
= form.rich_text_area :test_instructions = form.rich_text_area :test_instructions

View file

@ -46,6 +46,7 @@ de-CH:
target_disabilities: Einschränkung/Zugänglichkeit target_disabilities: Einschränkung/Zugänglichkeit
applicability: Anwendbarkeit applicability: Anwendbarkeit
external_url: WCAG Link external_url: WCAG Link
annotation_de: Anmerkungen
checklist: checklist:
id: ID id: ID
name: Überschrift name: Überschrift