summaryrefslogtreecommitdiff
path: root/app/views/content
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/content')
-rw-r--r--app/views/content/_headline_image.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/content/_headline_image.html.erb b/app/views/content/_headline_image.html.erb
new file mode 100644
index 0000000..ac2e86a
--- /dev/null
+++ b/app/views/content/_headline_image.html.erb
@@ -0,0 +1,10 @@
1<%= link_to_path(
2 image_tag(@images[0].upload.url(:headline)),
3 ("galleries/" + @page.node.unique_name)
4) %>
5
6<div class="shadowbox_images" style="display: none">
7 <% @images.each do |image| %>
8 <%= link_to "hallo", image.upload.url, :class => "shadowbox_image" %>
9 <% end %>
10</div> \ No newline at end of file