correctif(a11y): #8105, pour les callout, utilise un div wrappant du contenu html
This commit is contained in:
parent
4fd799390b
commit
c8e9b2f008
7 changed files with 19 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
= render Dsfr::CalloutComponent.new(title: t("views.prefill_descriptions.edit.json_description_title"), theme: :success, icon: "fr-icon-layout-grid-fill") do |c|
|
||||
- c.with_body do
|
||||
= t("views.prefill_descriptions.edit.json_description_info")
|
||||
- c.with_html_body do
|
||||
%p= t("views.prefill_descriptions.edit.json_description_info")
|
||||
%pre
|
||||
%code.code-block
|
||||
= prefill_json_description_url(procedure.path)
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
- if prefill_description.prefilled_champs.any?
|
||||
= render Dsfr::CalloutComponent.new(title: t("views.prefill_descriptions.edit.prefill_link_title"), theme: theme, icon: icon) do |c|
|
||||
- c.with_body do
|
||||
= body
|
||||
- c.with_html_body do
|
||||
%p= body
|
||||
%pre
|
||||
%code.code-block
|
||||
= prefill_description.prefill_link
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
- if prefill_description.prefilled_champs.any?
|
||||
|
||||
= render Dsfr::CalloutComponent.new(title: t("views.prefill_descriptions.edit.prefill_query_title"), theme: :success, icon: "fr-icon-code-box-fill") do |c|
|
||||
- c.with_body do
|
||||
= t("views.prefill_descriptions.edit.prefill_query_info")
|
||||
- c.with_html_body do
|
||||
%p= t("views.prefill_descriptions.edit.prefill_query_info")
|
||||
%pre
|
||||
%code.code-block
|
||||
= prefill_description.prefill_query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue