aboutsummaryrefslogtreecommitdiffstats
path: root/lib/attachment_to_html/template.html.erb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-04-14 17:14:01 +0100
committerGareth Rees <gareth@mysociety.org>2014-04-14 17:14:01 +0100
commit0c54aa3bc1bda24fa6cca97e52753a5ea07e7638 (patch)
tree0b3dc1c6aae0e277e51c1e43c8519f21e36401cd /lib/attachment_to_html/template.html.erb
parentfb0742f39fc9f5ba9e45ef08a4e4312ea10660f1 (diff)
parent9f283e2e48e859d1ba6a31baa783feb177cccb17 (diff)
Merge branch 'issues/337-attachment-title' into rails-3-develop
Diffstat (limited to 'lib/attachment_to_html/template.html.erb')
-rw-r--r--lib/attachment_to_html/template.html.erb16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/attachment_to_html/template.html.erb b/lib/attachment_to_html/template.html.erb
new file mode 100644
index 000000000..38286a5f9
--- /dev/null
+++ b/lib/attachment_to_html/template.html.erb
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title><%= title %></title>
+ <%= content_for(:head_suffix) %>
+</head>
+<body>
+ <%= content_for(:body_prefix) %>
+ <div id="<%= wrapper %>">
+ <div id="view-html-content">
+ <%= body %>
+ </div>
+ </div>
+ <%= content_for(:body_suffix) %>
+</body>
+</html>