From d75d8cc3e6e772a00b92c050e8dd3ee0b0dbcb94 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 21 Aug 2026 20:53:12 +0200 Subject: Add banner partials --- app/views/content/_banner_body.html.erb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/views/content/_banner_body.html.erb (limited to 'app/views/content/_banner_body.html.erb') diff --git a/app/views/content/_banner_body.html.erb b/app/views/content/_banner_body.html.erb new file mode 100644 index 00000000..b1d57d04 --- /dev/null +++ b/app/views/content/_banner_body.html.erb @@ -0,0 +1,5 @@ +<% if image %> + <%= image_tag image.upload.url(:large), :alt => banner.head.title.to_s, :class => "banner_image" %> +<% else %> + +<% end %> -- cgit v1.3