2023-01-23 11:31:06 +01:00
|
|
|
= render Dsfr::CalloutComponent.new(title: t("views.prefill_descriptions.edit.json_description_title"), theme: :success, icon: "fr-icon-layout-grid-fill") do |c|
|
2023-02-22 09:09:07 +01:00
|
|
|
- c.with_html_body do
|
|
|
|
%p= t("views.prefill_descriptions.edit.json_description_info")
|
2023-01-23 11:31:06 +01:00
|
|
|
%pre
|
|
|
|
%code.code-block
|
|
|
|
= prefill_json_description_url(procedure.path)
|
|
|
|
- c.with_bottom do
|
|
|
|
= render Dsfr::CopyButtonComponent.new(title: t("views.prefill_descriptions.edit.json_description_copy"), text: prefill_json_description_url(procedure.path))
|