From ce722562907bf4abc46c3eaf67020062318401c5 Mon Sep 17 00:00:00 2001 From: Leena Gupte Date: Wed, 9 Oct 2024 12:44:56 +0100 Subject: [PATCH] Add a placeholder view to display the modeled statistics data. The block should render twice as two statistics have been added to the sample content item data. --- app/views/landing_page/blocks/_statistics.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/views/landing_page/blocks/_statistics.html.erb diff --git a/app/views/landing_page/blocks/_statistics.html.erb b/app/views/landing_page/blocks/_statistics.html.erb new file mode 100644 index 0000000000..43fb7502c5 --- /dev/null +++ b/app/views/landing_page/blocks/_statistics.html.erb @@ -0,0 +1,7 @@ +

Placeholder statistics partial

+<%= block.row_header %> +
+<%= block.rows %> +
+<%= link_to block.data["data_source_link_text"], block.data_source_link %> +