diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/custom/page_templates/public/gallery.html.erb | 5 | ||||
| -rw-r--r-- | app/views/custom/page_templates/public/standard_template.html.erb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/views/custom/page_templates/public/gallery.html.erb b/app/views/custom/page_templates/public/gallery.html.erb new file mode 100644 index 00000000..7511db35 --- /dev/null +++ b/app/views/custom/page_templates/public/gallery.html.erb | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | <ul> | ||
| 2 | <% @images.each do |image| %> | ||
| 3 | <li><%= image_tag image.upload.url %></li> | ||
| 4 | <% end %> | ||
| 5 | </ul> \ No newline at end of file | ||
diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index 1822491b..6fe71766 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | <h2><%= @page.title %></h2> | 2 | <h2><%= @page.title %></h2> |
| 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> | 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> |
| 4 | <hr class="subtitle" /> | 4 | <hr class="subtitle" /> |
| 5 | <p><%= headline_image %></p> | ||
| 5 | <p><em><%= @page.abstract %></em></p> | 6 | <p><em><%= @page.abstract %></em></p> |
| 6 | <%= aggregate?(@page.body) %> | 7 | <%= aggregate?(@page.body) %> |
| 7 | </div> | 8 | </div> |
