Cosmetics

This commit is contained in:
david 2024-10-25 19:25:01 +02:00
parent 2420eb85ee
commit 5c65196eac
4 changed files with 9 additions and 8 deletions

View file

@ -49,15 +49,15 @@ div id=dom_id(check)
tr
th = Check.human_attribute_name(:criterion_de)
td = check.criterion_de
tr
th = Check.human_attribute_name(:exemption_details_de)
td = check.exemption_details_de
tr
th = Check.human_attribute_name(:criterion_details_de)
td = check.criterion_details_de
tr
th = Check.human_attribute_name(:example_de)
td = check.example_de
tr
th = Check.human_attribute_name(:exemption_details_de)
td = check.exemption_details_de
tr
th = Check.human_attribute_name(:test_instructions)
td = check.test_instructions

View file

@ -6,7 +6,7 @@
= form.collection_radio_buttons(:principle_id, Principle.all.sort_by(&:t_name), :id, :t_name) { |b| b.label(class: "col-md-2") { b.radio_button + b.text } }
= form.collection_check_boxes :standard_ids, Standard.all.sort_by{ _1.t_name.downcase }, :id, :t_name, include_blank: true
h2 Zugänglichkeit
h2 Einschränkung/Zugänglichkeit
.row
- %w[visual auditory physical cognitive].sort_by { |d| t("disability.#{d}") }.each do |d|
.col-md-3
@ -32,9 +32,9 @@
h2 Regular-Kriterium
= multilang_form_field(form, :criterion, 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, :example, as: :rich_text_area)
= multilang_form_field(form, :exemption_details, as: :rich_text_area)
h2 Intern
= form.rich_text_area :test_instructions