diff --git a/app/assets/images/custom/example_horizontal.jpg b/app/assets/images/custom/example_horizontal.jpg new file mode 100644 index 000000000..634e432ac Binary files /dev/null and b/app/assets/images/custom/example_horizontal.jpg differ diff --git a/app/assets/images/custom/example_vertical.jpg b/app/assets/images/custom/example_vertical.jpg new file mode 100644 index 000000000..11743cc18 Binary files /dev/null and b/app/assets/images/custom/example_vertical.jpg differ diff --git a/app/views/polls/_gallery.html.erb b/app/views/polls/_gallery.html.erb new file mode 100644 index 000000000..b025bcebd --- /dev/null +++ b/app/views/polls/_gallery.html.erb @@ -0,0 +1,42 @@ +
+ + + <%= t("polls.show.zoom_plus") %> + + + + + +
diff --git a/app/views/polls/show.html.erb b/app/views/polls/show.html.erb index 890e8c56f..1d4153356 100644 --- a/app/views/polls/show.html.erb +++ b/app/views/polls/show.html.erb @@ -64,4 +64,31 @@ + +
+
+ + +
+ + +

Answer 1

+ + + + <%= render "gallery" %> + + + +
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+ + +
+
+ + +